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 <michael.tremer@ipfire.org>
# 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