Bladeren bron

modifying package: gdb-6.8 20080328 -> 20080401

Ralf S. Engelschall 17 jaren geleden
bovenliggende
commit
61c7f7d3b2
1 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 5 1
      gdb/gdb.spec

+ 5 - 1
gdb/gdb.spec

@@ -32,7 +32,7 @@ Class:        BASE
 Group:        Debugging
 License:      GPL
 Version:      6.8
-Release:      20080328
+Release:      20080401
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz
@@ -65,6 +65,9 @@ AutoReqProv:  no
     %patch -p0
 
 %build
+    %{l_shtool} subst \
+        -e 's;-Werror;;' \
+        `find . -type f -name configure -print`
     CC="%{l_cc} %{l_ldflags}" \
     CFLAGS="%{l_cflags -O} %{l_cppflags ncurses .}" \
     CPPFLAGS="%{l_cppflags ncurses .}" \
@@ -73,6 +76,7 @@ AutoReqProv:  no
     ./configure \
         --prefix=%{l_prefix} \
         --with-libiconv-prefix=%{l_prefix} \
+        --disable-werror \
         --disable-nls
     %{l_make} %{l_mflags -O}