From 88173afe674f0da36c1b63601ce106881728bf55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Thu, 29 Feb 2024 21:10:50 +0200 Subject: rpmrc: remove -fstack-clash-protection from armv7 default flags --- rpmrc.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rpmrc.in') diff --git a/rpmrc.in b/rpmrc.in index f2a39f8..9ade0cd 100644 --- a/rpmrc.in +++ b/rpmrc.in @@ -12,11 +12,11 @@ optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -march=athlon optflags: x86_64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full # Cortex A8 -optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fstack-clash-protection -optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fstack-clash-protection +optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp +optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -fstack-clash-protection -optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=neon -fstack-clash-protection +optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 +optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=neon optflags: aarch64 %{__common_cflags_with_ssp} -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -- cgit v1.2.1