diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 23:52:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-04 23:52:39 +0100 |
commit | 1b2c0d19f75523db182b267901484f87abf732cf (patch) | |
tree | 3c4832e97c3846189d07c64c2eba333bf33b8ab2 /app-crypt/libscrypt/files | |
parent | dd851ab76c56a249df7a0ec052acd90940bc014f (diff) |
gentoo auto-resync : 04:10:2023 - 23:52:39
Diffstat (limited to 'app-crypt/libscrypt/files')
-rw-r--r-- | app-crypt/libscrypt/files/libscrypt-1.22-no-clobber-fortify-source.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-crypt/libscrypt/files/libscrypt-1.22-no-clobber-fortify-source.patch b/app-crypt/libscrypt/files/libscrypt-1.22-no-clobber-fortify-source.patch new file mode 100644 index 000000000000..c54dc522b380 --- /dev/null +++ b/app-crypt/libscrypt/files/libscrypt-1.22-no-clobber-fortify-source.patch @@ -0,0 +1,14 @@ +Don't clobber toolchain defaults. + +https://bugs.gentoo.org/892928 +--- a/Makefile ++++ b/Makefile +@@ -5,7 +5,7 @@ MAKE_DIR ?= install -d + INSTALL_DATA ?= install + + CC?=gcc +-CFLAGS?=$(CFLAGS_EXTRA) -D_FORTIFY_SOURCE=2 -fPIC ++CFLAGS?=$(CFLAGS_EXTRA) -fPIC + LDFLAGS?=$(LDFLAGS_EXTRA) -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version + CFLAGS_EXTRA?=-Wl,-rpath=. -O2 -Wall -g -fstack-protector + LDFLAGS_EXTRA?=-Wl,-z,relro |