diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-05-15 17:44:31 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-05-15 21:08:15 +0200 |
commit | 681db0e7df47d895565771adb1ddb2f0c184e378 (patch) | |
tree | 90a2913b8ec76e5a98f2ff5857ff738fd9209ac6 /dev-lang | |
parent | sys-libs/libcap: add 2.69 (diff) | |
download | gentoo-681db0e7df47d895565771adb1ddb2f0c184e378.tar.gz gentoo-681db0e7df47d895565771adb1ddb2f0c184e378.tar.bz2 gentoo-681db0e7df47d895565771adb1ddb2f0c184e378.zip |
dev-lang/eisl: remove hardcoded FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/906346
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/eisl/files/eisl-2.85-Makefile.patch | 15 |
1 files 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 |