From 45fec4faf79972e03f7ffaa572a77cd69a7a5ebc Mon Sep 17 00:00:00 2001 From: lace <> Date: Sun, 29 Apr 2007 07:27:52 +0000 Subject: [PATCH] `gdb.spec-debug.patch' variant for the gdb-6.6-11.fc7+ .spec files. --- src/gdb.spec-debug2.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/gdb.spec-debug2.patch diff --git a/src/gdb.spec-debug2.patch b/src/gdb.spec-debug2.patch new file mode 100644 index 0000000..f70ec3f --- /dev/null +++ b/src/gdb.spec-debug2.patch @@ -0,0 +1,20 @@ +--- gdb.spec.orig 2007-04-28 23:50:42.000000000 +0200 ++++ gdb.spec 2007-04-29 00:38:09.000000000 +0200 +@@ -519,7 +519,8 @@ + # at least one warning, and stop the compilation. The whole configury + # line needs to be cleaned up. + +-export CFLAGS="$RPM_OPT_FLAGS" ++#export CFLAGS="$RPM_OPT_FLAGS" ++export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2" + + enable_build_warnings="--enable-gdb-build-warnings=,-Wno-unused" + %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 +@@ -539,6 +540,7 @@ + %else + --without-libunwind \ + %endif ++ --enable-static --disable-shared --enable-debug \ + %{_target_platform} + + make %{?_smp_mflags} -- 1.8.3.1