aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-10-06 16:13:31 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-10-06 16:13:31 +0000
commitc65b36f06837e4e8f7f0960ac4308f75f63d0ef6 (patch)
tree0c25ba824cf9826264e979e316810d39d33609cb /macros.in
parentbcd69dfe486ba8c07ae4c1468ca7003568df226b (diff)
downloadrpm-setup-c65b36f06837e4e8f7f0960ac4308f75f63d0ef6.tar
rpm-setup-c65b36f06837e4e8f7f0960ac4308f75f63d0ef6.tar.gz
rpm-setup-c65b36f06837e4e8f7f0960ac4308f75f63d0ef6.tar.bz2
rpm-setup-c65b36f06837e4e8f7f0960ac4308f75f63d0ef6.tar.xz
rpm-setup-c65b36f06837e4e8f7f0960ac4308f75f63d0ef6.zip
enable -debug packages for 2007, build with -fasynchronous-unwind-tables
on x86 and -fexceptions everywhere (including for C code)
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.