469bc24b17efd902ca191afa2227ecc5d4cef949
[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 @@ -355,6 +356,7 @@
14         --infodir=%{_infodir}\
15         $enable_build_warnings \
16          --with-separate-debug-dir=/usr/lib/debug \
17 +       --enable-static --disable-shared --enable-debug \
18      %{_target_platform}
19  
20  make -k