1 --- gdb.spec-orig 2006-07-14 07:18:22.000000000 +0200
2 +++ gdb.spec 2006-07-25 13:16:58.000000000 +0200
4 # at least one warning, and stop the compilation. The whole configury
5 # line needs to be cleaned up.
7 -export CFLAGS="$RPM_OPT_FLAGS"
8 +#export CFLAGS="$RPM_OPT_FLAGS"
9 +export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2"
10 +sed -i -e 's/ -Wuninitialized / -Wno-uninitialized /g' ../gdb/configure
12 enable_build_warnings=""
13 %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64
15 --infodir=%{_infodir}\
16 $enable_build_warnings \
17 --with-separate-debug-dir=/usr/lib/debug \
18 + --enable-static --disable-shared --enable-debug \