forked from Lainports/freebsd-ports
22 lines
921 B
Text
22 lines
921 B
Text
- workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283155
|
|
|
|
--- Makefile.orig 2024-12-06 01:44:59 UTC
|
|
+++ Makefile
|
|
@@ -58,7 +58,7 @@ COMMONFLAGS += -fstack-protector-strong -Wformat -Werr
|
|
|
|
COMMONFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags gio-2.0 chafa fftw3f opus opusfile vorbis ogg glib-2.0 taglib)
|
|
COMMONFLAGS += -fstack-protector-strong -Wformat -Werror=format-security -fPIE -D_FORTIFY_SOURCE=2
|
|
-COMMONFLAGS += -Wall -Wextra -Wpointer-arith -flto
|
|
+COMMONFLAGS += -Wall -Wextra -Wpointer-arith
|
|
|
|
CFLAGS = $(COMMONFLAGS)
|
|
|
|
@@ -69,7 +69,7 @@ LIBS += -lstdc++
|
|
LIBS = -L/usr/lib -lm -lopusfile -lglib-2.0 -lpthread $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs gio-2.0 chafa fftw3f opus opusfile ogg vorbis vorbisfile glib-2.0 taglib)
|
|
LIBS += -lstdc++
|
|
|
|
-LDFLAGS = -logg -lz -flto
|
|
+LDFLAGS = -logg -lz
|
|
|
|
ifeq ($(UNAME_S), Linux)
|
|
CFLAGS += -fPIE
|