+make
[nethome.git] / src / gdb.spec-debug2.patch
1 --- gdb.spec.orig       2007-08-19 22:31:15.000000000 +0200
2 +++ gdb.spec    2007-08-19 22:33:28.000000000 +0200
3 @@ -554,7 +554,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="$RPM_OPT_FLAGS -O0 -ggdb2"
10  
11  enable_build_warnings="--enable-gdb-build-warnings=,-Wno-unused"
12  %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64
13 @@ -575,6 +576,7 @@
14  %else
15         --without-libunwind                             \
16  %endif
17 +       --enable-static --disable-shared --enable-debug \
18         %{_target_platform}
19  
20  make %{?_smp_mflags}