opnsense-ports/lang/eisl/files/extra-patch-makefile
Franco Fichtner 7eba600ec9 */*: sync with upstream
Taken from: FreeBSD
2022-09-26 10:14:12 +02:00

19 lines
484 B
Text

--- makefile.orig 2022-09-02 08:35:22 UTC
+++ makefile
@@ -57,7 +57,7 @@ ifeq ($(DEBUG),1)
LDFLAGS := -fsanitize=undefined
endif
else
- CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1
+ CFLAGS += -O3 -DNDEBUG=1 -DWITHOUT_NANA=1
SRC_CII += cii/src/mem.c
endif
OBJ_CII := $(SRC_CII:.c=.o)
@@ -75,7 +75,6 @@ ifeq ($(shell uname -n),raspberrypi)
CFLAGS += -D__rpi__
endif
ifneq ($(DEBUG),1)
- LDFLAGS += -flto
ifeq ($(shell uname),Darwin)
LDFLAGS += -Wl,-S,-x
else