summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-01-01 22:43:43 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-01-01 22:43:43 +0100
commiteb143fae3bca40c52cfbf6f96b9a439dc26b0976 (patch)
treeeff7ca4c666d9e27ef9c753ee9f177800d383b56 /dev-lang/gnat-gpl/files
parentgames-emulation/pcsx2: unbundle cubeb+libchdr, make pulse optional (diff)
downloadgentoo-eb143fae3bca40c52cfbf6f96b9a439dc26b0976.tar.gz
gentoo-eb143fae3bca40c52cfbf6f96b9a439dc26b0976.tar.bz2
gentoo-eb143fae3bca40c52cfbf6f96b9a439dc26b0976.zip
dev-lang/gnat-gpl: fix cet detection
Closes: https://bugs.gentoo.org/830345 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/gnat-gpl/files')
-rw-r--r--dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
index 3caa2a6d996e..2bfc54c551a9 100644
--- a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
+++ b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch
@@ -39,3 +39,13 @@
+ %{fdump-scos:-fpreserve-decisions-generic}\
%{fprofile-arcs|fprofile-generate*|coverage:\
- %{!fprofile-update=singel:\
+--- a/gcc-10-2021-20210519-19A74-src/config/cet.m4 2022-01-01 11:18:09.663425422 +0100
++++ b/gcc-10-2021-20210519-19A74-src/config/cet.m4 2022-01-01 11:18:14.809345911 +0100
+@@ -62,7 +62,6 @@
+ i[[34567]]86-*-linux* | x86_64-*-linux*)
+ may_have_cet=yes
+ save_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS -fcf-protection"
+ case "$enable_cet" in
+ auto)
+ # Check if target supports multi-byte NOPs