From 023b1413418b92fe9d3f2d59563a26326572f997 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 18 Dec 2018 21:34:04 +0000 Subject: [PATCH] CFLAGS: Build without exception handling by default GCC will automatically enable this for languages that require it like C++, but it does waste space for languages that don't have exceptions (like C). Signed-off-by: Michael Tremer --- macros/cflags.macro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/cflags.macro b/macros/cflags.macro index 2cc4ab88..c5471985 100644 --- a/macros/cflags.macro +++ b/macros/cflags.macro @@ -1,7 +1,7 @@ # Export CFLAGS + CXXFLAGS GLOBAL_CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -Werror=format-security -GLOBAL_CFLAGS += -fexceptions -fPIC -fstack-protector-strong -grecord-gcc-switches +GLOBAL_CFLAGS += -fPIC -fstack-protector-strong -grecord-gcc-switches CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fstack-clash-protection CFLAGS_x86_64 = -m64 -mtune=generic -fstack-clash-protection -- 2.39.2