+ppc rpmdb workaround.
[nethome.git] / src / gdb.spec-debug.patch
1 --- gdb.spec-orig       2006-07-14 07:18:22.000000000 +0200
2 +++ gdb.spec    2006-07-25 13:16:58.000000000 +0200
3 @@ -341,7 +341,8 @@
4  # at least one warning, and stop the compilation.  The whole configury
5  # line needs to be cleaned up.
6  
7 -export CFLAGS="$RPM_OPT_FLAGS"
8 +#export CFLAGS="$RPM_OPT_FLAGS"
9 +export CFLAGS="-ggdb3"
10  
11  enable_build_warnings=""
12  %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64
13 @@ -346,7 +346,7 @@
14  
15  enable_build_warnings=""
16  %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64
17 -enable_build_warnings="--enable-gdb-build-warnings=,-Werror"
18 +#enable_build_warnings="--enable-gdb-build-warnings=,-Werror"
19  %endif
20  
21  ../configure \
22 @@ -355,6 +356,7 @@
23         --infodir=%{_infodir}\
24         $enable_build_warnings \
25          --with-separate-debug-dir=/usr/lib/debug \
26 +       --enable-static --disable-shared --disable-werror --enable-debug \
27      %{_target_platform}
28  
29  make -k