aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros.in b/macros.in
index 8dd3403..23dba75 100644
--- a/macros.in
+++ b/macros.in
@@ -55,7 +55,7 @@
# (e.g. per-platform, per-system, per-packager, per-package) macros.
#
-# %_enable_debug_packages
+%_enable_debug_packages 1
%debugcflags %{?_enable_debug_packages:-g}
@@ -66,7 +66,7 @@
%ix86 i386 i486 i586 i686 pentium3 pentium4 athlon k6
# common compilation flags
-%__common_cflags -O2 %{debugcflags} -pipe -Wp,-D_FORTIFY_SOURCE=2
+%__common_cflags -O2 %{debugcflags} -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
#==============================================================================
# ---- Optional rpmrc macros.