commit: 681db0e7df47d895565771adb1ddb2f0c184e378 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon May 15 15:44:31 2023 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon May 15 19:08:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681db0e7
dev-lang/eisl: remove hardcoded FORTIFY_SOURCE Closes: https://bugs.gentoo.org/906346 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-lang/eisl/files/eisl-2.85-Makefile.patch | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-lang/eisl/files/eisl-2.85-Makefile.patch b/dev-lang/eisl/files/eisl-2.85-Makefile.patch index ee33c5bd66c2..61cd83f7da77 100644 --- a/dev-lang/eisl/files/eisl-2.85-Makefile.patch +++ b/dev-lang/eisl/files/eisl-2.85-Makefile.patch @@ -1,6 +1,15 @@ --- a/makefile +++ b/makefile -@@ -65,7 +65,7 @@ ifeq ($(DEBUG),1) +@@ -38,7 +38,7 @@ else + endif + endif + endif +-CFLAGS += $(INCS) -g -Wall -Wextra -D_FORTIFY_SOURCE=2 $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -Inana/src ++CFLAGS += $(INCS) -g -Wall -Wextra $(CURSES_CFLAGS) -U_XOPEN_SOURCE -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -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 +@@ -68,7 +68,7 @@ ifeq ($(DEBUG),1) LDFLAGS += -fsanitize=undefined endif else @@ -9,14 +18,14 @@ SRC_CII += cii/src/mem.c endif OBJ_CII := $(SRC_CII:.c=.o) -@@ -83,11 +83,9 @@ ifeq ($(shell uname -n),raspberrypi) +@@ -86,11 +86,8 @@ ifeq ($(shell uname -n),raspberrypi) CFLAGS += -D__rpi__ endif ifneq ($(DEBUG),1) - LDFLAGS += -flto ifeq ($(shell uname),Darwin) LDFLAGS += -Wl,-S,-x - else +- else - LDFLAGS += -s endif endif