[packages/rpm-pld-macros/rpm.org] enable PAC and BTI on aarch64

atler atler at pld-linux.org
Tue Feb 9 18:56:40 CET 2021


commit e726288bc0f85343338189952011830e0ff042a4
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Feb 9 18:39:20 2021 +0100

    enable PAC and BTI on aarch64

 rpmrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpmrc b/rpmrc
index 8957083..cbac36e 100644
--- 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}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/e3da8855920fa9b81f83d605e5598a4d33c8ca58



More information about the pld-cvs-commit mailing list