]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
enable PAC and BTI on aarch64
authorJan Palus <atler@pld-linux.org>
Tue, 9 Feb 2021 17:39:20 +0000 (18:39 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 9 Feb 2021 17:39:20 +0000 (18:39 +0100)
rpmrc

diff --git a/rpmrc b/rpmrc
index 8957083f32271b7c945e71422626d0073d48ea48..cbac36ead78076d3b2e38faf99ce04e0a275a4b7 100644 (file)
--- a/rpmrc
+++ b/rpmrc
@@ -10,7 +10,7 @@ optflags: alphaev6 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomi
 optflags: alphaev67 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} -mieee -mcpu=ev67 %{!?nospecflags:%{?specflags_alpha} %{?specflags_alphaev67}}
 optflags: alphapca56 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} -mieee -mcpu=pca56 %{!?nospecflags:%{?specflags_alpha} %{?specflags_alphapca56}}
 
-optflags: aarch64 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} %{!?nospecflags:%{?specflags_aarch64}}
+optflags: aarch64 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} -mbranch-protection=standard %{!?nospecflags:%{?specflags_aarch64}}
 optflags: riscv64 %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} -march=rv64imafdc -mabi=lp64d %{!?nospecflags:%{?specflags_riscv64}}
 
 optflags: armv6j %{?__common_cflags_with_ssp:%{__common_cflags_with_ssp} -fomit-frame-pointer}%{!?__common_cflags_with_ssp:-O2 -g} -march=armv6j -mfpu=vfp -mfloat-abi=hard %{!?nospecflags:%{?specflags_arm} %{?specflags_arm6j}}
This page took 0.447747 seconds and 4 git commands to generate.