diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-01-03 18:04:37 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-01-07 06:35:56 +0100 |
commit | 0e65ce99c0060112a39c50bb7f74454a9e577e4a (patch) | |
tree | 441311cd0c26d188f294f7ba79cff837c893b858 /sys-freebsd/freebsd-mk-defs | |
parent | app-text/texlive-core: Add patch to build with latest poppler to texlive 2016. (diff) | |
download | gentoo-0e65ce99c0060112a39c50bb7f74454a9e577e4a.tar.gz gentoo-0e65ce99c0060112a39c50bb7f74454a9e577e4a.tar.bz2 gentoo-0e65ce99c0060112a39c50bb7f74454a9e577e4a.zip |
sys-freebsd/freebsd-mk-defs: remove unused patch
Diffstat (limited to 'sys-freebsd/freebsd-mk-defs')
-rw-r--r-- | sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch deleted file mode 100644 index 8eb80c38cc7a..000000000000 --- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=511698 - -diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk -index e438633..de4a05b 100644 ---- a/share/mk/bsd.sys.mk -+++ b/share/mk/bsd.sys.mk -@@ -111,12 +111,18 @@ CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\ - CFLAGS+= -Qunused-arguments - .endif # CLANG - --.if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ -- ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" -+.if ${MACHINE_CPUARCH} != "ia64" && ${MACHINE_CPUARCH} != "arm" \ -+ && ${MACHINE_CPUARCH} != "mips" -+.if ${MK_SSP} != "no" - # Don't use -Wstack-protector as it breaks world with -Werror. - SSP_CFLAGS?= -fstack-protector -+.else -+# gcc-4.9, -fstack-protector-strong is enabled by default. -+# Add -fno-stack-protector to disable it. Gentoo Bug #511698. -+SSP_CFLAGS= -fno-stack-protector -+.endif #SSP - CFLAGS+= ${SSP_CFLAGS} --.endif # SSP && !IA64 && !ARM && !MIPS -+.endif # !IA64 && !ARM && !MIPS - - # Allow user-specified additional warning flags - CFLAGS+= ${CWARNFLAGS} |