diff options
author | Jani Välimaa <wally@mageia.org> | 2024-02-23 20:07:04 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-02-23 20:07:04 +0200 |
commit | f5e09c2bd429e4b9081037e23db2535c484da5ae (patch) | |
tree | 562ba14c098cfa00b25cb6d8266420bb64e70dd5 /rpmrc.in | |
parent | 17c74d69f35a2feba8f3543d70f24ccc03c0e708 (diff) | |
download | rpm-setup-f5e09c2bd429e4b9081037e23db2535c484da5ae.tar rpm-setup-f5e09c2bd429e4b9081037e23db2535c484da5ae.tar.gz rpm-setup-f5e09c2bd429e4b9081037e23db2535c484da5ae.tar.bz2 rpm-setup-f5e09c2bd429e4b9081037e23db2535c484da5ae.tar.xz rpm-setup-f5e09c2bd429e4b9081037e23db2535c484da5ae.zip |
rpmrc: remove -fcf-protection=full from i586 default flags (needs i686 or newer)
According to gcc manual [1] fcf-protection relies on Intel Control-flow
Enforcement Technology (CET) which works for i686 processor or newer.
[1] https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcf-protection
Diffstat (limited to 'rpmrc.in')
-rw-r--r-- | rpmrc.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ optflags: i386 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i386 -fasynchronous-unwind-tables -fstack-clash-protection optflags: i486 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection -optflags: i586 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full +optflags: i586 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection optflags: x86_64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full |