|
|
@@ -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}
|
|
|
|