gentoo-ebuilds/dev-lang/eisl/files/eisl-5.42-makefile.patch
Maciej Barć d85c246fd0
dev-lang/eisl: bump to 5.42
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-04-28 15:40:41 +02:00

23 lines
510 B
Diff

--- a/makefile
+++ b/makefile
@@ -69,7 +69,7 @@ ifeq ($(DEBUG),1)
LDFLAGS += -fsanitize=undefined
endif
else
- CFLAGS += -O3 -flto -DNDEBUG=1 -DWITHOUT_NANA=1
+ CFLAGS += -DNDEBUG=1 -DWITHOUT_NANA=1
SRC_CII += cii/src/mem.c
endif
OBJ_CII := $(SRC_CII:.c=.o)
@@ -87,11 +87,8 @@ ifeq ($(shell uname -n),raspberrypi)
CFLAGS += -D__rpi__
endif
ifneq ($(DEBUG),1)
- LDFLAGS += -flto
ifeq ($(shell uname),Darwin)
LDFLAGS += -Wl,-S,-x
- else
- LDFLAGS += -s
endif
endif
PREFIX := /usr/local