From 0ef05e356b243eaf0b42a8b6561357cad26d2950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 31 Mar 2024 22:39:41 +0300 Subject: rpmrc: don't use -fstack-clash-protection on aarch64 with the clang toolchain --- rpmrc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmrc.in') diff --git a/rpmrc.in b/rpmrc.in index 440a643..107c252 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -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 -- cgit v1.2.1