From: Michael Tremer Date: Fri, 11 Jun 2021 16:01:54 +0000 (+0000) Subject: CFLAGS: Disable modern stuff for now X-Git-Tag: 0.9.28~1276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b67e76c51ddae512cc21969e5a93e141f1a51a10;p=pakfire.git CFLAGS: Disable modern stuff for now My broken test environment has an ancient version of GCC, so I cannot use these right now. Signed-off-by: Michael Tremer --- diff --git a/macros/cflags.macro b/macros/cflags.macro index 80c367014..525901e19 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -1,12 +1,11 @@ # Export CFLAGS + CXXFLAGS -GLOBAL_CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,D_GLIBCXX_ASSERTIONS -GLOBAL_CFLAGS += -Werror=format-security-fexceptions +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 -fstack-clash-protection -CFLAGS_x86_64 = -m64 -mtune=generic -fstack-clash-protection +CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables +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