git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ce95d0f
)
Fixed `-O0 -Wuninitialized' GCC error.
author
lace
<>
Sat, 28 Jul 2007 15:28:55 +0000
(15:28 +0000)
committer
lace
<>
Sat, 28 Jul 2007 15:28:55 +0000
(15:28 +0000)
src/gdb.spec-debug.patch
patch
|
blob
|
history
diff --git
a/src/gdb.spec-debug.patch
b/src/gdb.spec-debug.patch
index
40bcfcc
..
9db11d3
100644
(file)
--- a/
src/gdb.spec-debug.patch
+++ b/
src/gdb.spec-debug.patch
@@
-1,12
+1,13
@@
--- gdb.spec-orig 2006-07-14 07:18:22.000000000 +0200
+++ gdb.spec 2006-07-25 13:16:58.000000000 +0200
--- gdb.spec-orig 2006-07-14 07:18:22.000000000 +0200
+++ gdb.spec 2006-07-25 13:16:58.000000000 +0200
-@@ -341,7 +341,
8
@@
+@@ -341,7 +341,
9
@@
# at least one warning, and stop the compilation. The whole configury
# line needs to be cleaned up.
-export CFLAGS="$RPM_OPT_FLAGS"
+#export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2"
# at least one warning, and stop the compilation. The whole configury
# line needs to be cleaned up.
-export CFLAGS="$RPM_OPT_FLAGS"
+#export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$RPM_OPT_FLAGS -O0 -ggdb2"
++sed -i -e 's/ -Wuninitialized / -Wno-uninitialized /g' ../gdb/configure
enable_build_warnings=""
%ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64
enable_build_warnings=""
%ifarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64