diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | rpmrc.in | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- rpmrc: don't use -fstack-clash-protection on aarch64 with the clang toolchain + Version 2.76 - 30 March 2024, by Jani Välimaa - macros: add support for toolchain selection (GCC/Clang) @@ -18,7 +18,7 @@ optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mtune=co optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfpu=neon -mabi=aapcs-linux -mfloat-abi=hard -optflags: aarch64 %{__common_cflags_with_ssp} -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection +optflags: aarch64 %{__common_cflags_with_ssp} -mbranch-protection=standard -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-protection" : "" ] ############################################################# # Canonical arch names and numbers |