diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-10-06 16:13:31 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-10-06 16:13:31 +0000 |
commit | c65b36f06837e4e8f7f0960ac4308f75f63d0ef6 (patch) | |
tree | 0c25ba824cf9826264e979e316810d39d33609cb | |
parent | bcd69dfe486ba8c07ae4c1468ca7003568df226b (diff) | |
download | rpm-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)
-rw-r--r-- | macros.in | 4 | ||||
-rw-r--r-- | rpmrc.in | 12 |
2 files changed, 8 insertions, 8 deletions
@@ -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. @@ -5,12 +5,12 @@ ############################################################# # Values for RPM_OPT_FLAGS for various platforms -optflags: i386 %{__common_cflags} -fomit-frame-pointer -march=i386 -optflags: i486 %{__common_cflags} -fomit-frame-pointer -march=i486 -optflags: k6 %{__common_cflags} -fomit-frame-pointer -march=k6 -optflags: i586 %{__common_cflags} -fomit-frame-pointer -march=i586 -mtune=pentiumpro -optflags: i686 %{__common_cflags} -fomit-frame-pointer -march=i686 -optflags: athlon %{__common_cflags} -fomit-frame-pointer -march=athlon +optflags: i386 %{__common_cflags} -fomit-frame-pointer -march=i386 -fasynchronous-unwind-tables +optflags: i486 %{__common_cflags} -fomit-frame-pointer -march=i486 -fasynchronous-unwind-tables +optflags: k6 %{__common_cflags} -fomit-frame-pointer -march=k6 -fasynchronous-unwind-tables +optflags: i586 %{__common_cflags} -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables +optflags: i686 %{__common_cflags} -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables +optflags: athlon %{__common_cflags} -fomit-frame-pointer -march=athlon -fasynchronous-unwind-tables optflags: ia64 %{__common_cflags} optflags: x86_64 %{__common_cflags} optflags: amd64 %{__common_cflags} |