From b99658920cfe0681cf99b7057f3c5419fda3e5b8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 24 Nov 2022 21:43:42 +0000 Subject: [PATCH] macros: Drop CFLAGS for architectures we no longer support Signed-off-by: Michael Tremer --- macros/cflags.macro | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/macros/cflags.macro b/macros/cflags.macro index f82e84cc9..7b2f7fa04 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -1,16 +1,12 @@ # Export CFLAGS + CXXFLAGS -GLOBAL_CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS +GLOBAL_CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 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 -mtune=generic # Disabled for now because the version of GCC we have does not support this switch #CFLAGS_aarch64 = -fstack-clash-protection -CFLAGS_armv5tel = -march=armv5te -mfloat-abi=soft -CFLAGS_armv7hl = -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -mthumb - export CFLAGS = %{GLOBAL_CFLAGS} %{CFLAGS_%{DISTRO_ARCH}} export CXXFLAGS = %{CFLAGS} -- 2.39.5