]> git.ipfire.org Git - pakfire.git/commitdiff
macros: Drop CFLAGS for architectures we no longer support
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Nov 2022 21:43:42 +0000 (21:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Nov 2022 21:43:42 +0000 (21:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/cflags.macro

index f82e84cc9901670a5da4c5f0ab5fb8a246ba2859..7b2f7fa043f94695f7f09fe62ae8ef8a538b5a76 100644 (file)
@@ -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}