diff options
Diffstat (limited to 'dev-lang/eisl/files/eisl-3.60-Makefile.patch')
-rw-r--r-- | dev-lang/eisl/files/eisl-3.60-Makefile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/eisl/files/eisl-3.60-Makefile.patch b/dev-lang/eisl/files/eisl-3.60-Makefile.patch new file mode 100644 index 000000000000..3c9c763fd608 --- /dev/null +++ b/dev-lang/eisl/files/eisl-3.60-Makefile.patch @@ -0,0 +1,32 @@ +--- a/makefile ++++ b/makefile +@@ -39,7 +39,7 @@ else + endif + endif + endif +-CFLAGS += $(INCS) -g -Wall -Wextra -D_FORTIFY_SOURCE=2 $(CURSES_CFLAGS) -U_XOPEN_SOURCE -Inana/src ++CFLAGS += $(INCS) -g $(CURSES_CFLAGS) -U_XOPEN_SOURCE -Inana/src + DFLAGS := --preview=all --de -w --O3 --release --betterC + SRC_CII := cii/src/except.c cii/src/fmt.c cii/src/str.c cii/src/text.c + SRC_D := dextension.d disl.d +@@ -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 |