X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=src%2Fgdb.spec-debug.patch;h=9db11d3098da087ccfc1b80e7b125cc7f5270bdb;hp=b16daf32020462f02f12d58441f22fd588e28ae1;hb=c743129478d4c677a9c725484fd02736b9ff6786;hpb=507f38daa137fb446f2a6ecd5862727d45480ad7 diff --git a/src/gdb.spec-debug.patch b/src/gdb.spec-debug.patch index b16daf3..9db11d3 100644 --- a/src/gdb.spec-debug.patch +++ b/src/gdb.spec-debug.patch @@ -1,12 +1,13 @@ --- gdb.spec-orig 2006-07-14 07:18:22.000000000 +0200 +++ gdb.spec 2006-07-25 13:16:58.000000000 +0200 -@@ -341,7 +341,8 @@ +@@ -341,7 +341,9 @@ # 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="-ggdb2" ++export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2" ++sed -i -e 's/ -Wuninitialized / -Wno-uninitialized /g' ../gdb/configure enable_build_warnings="" %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64