Keep the original $RPM_OPT_FLAGS content.
authorlace <>
Sun, 29 Apr 2007 10:57:40 +0000 (10:57 +0000)
committerlace <>
Sun, 29 Apr 2007 10:57:40 +0000 (10:57 +0000)
src/gdb.spec-debug.patch

index b16daf3..40bcfcc 100644 (file)
@@ -6,7 +6,7 @@
  
 -export CFLAGS="$RPM_OPT_FLAGS"
 +#export CFLAGS="$RPM_OPT_FLAGS"
-+export CFLAGS="-ggdb2"
++export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2"
  
  enable_build_warnings=""
  %ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64