From: Michael Tremer Date: Tue, 10 May 2022 16:06:01 +0000 (+0000) Subject: Revert "macros: Build for more modern processors only" X-Git-Tag: 0.9.28~795 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fa1f8cf3a77da8e1438d3fcf837a6a24e1effd2;p=pakfire.git Revert "macros: Build for more modern processors only" This reverts commit 547777ac363bc14975cd7ab77fed3fb160b904f4. The version of GCC that we currently have does not seem to support this feature, yet. Signed-off-by: Michael Tremer --- diff --git a/macros/cflags.macro b/macros/cflags.macro index 6911441f6..525901e19 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -5,7 +5,7 @@ GLOBAL_CFLAGS += -fPIC -fstack-protector-strong --param=ssp-buffer-size=4 GLOBAL_CFLAGS += -grecord-gcc-switches -fdebug-prefix-map=%{DIR_SRC}=%{debugsourcedir} CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -CFLAGS_x86_64 = -m64 -march=x86-64-v2 -mtune=generic +CFLAGS_x86_64 = -m64 -mtune=generic CFLAGS_aarch64 = -fstack-clash-protection CFLAGS_armv5tel = -march=armv5te -mfloat-abi=soft CFLAGS_armv7hl = -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb