|
@@ -50,6 +50,7 @@ Release: 20020628
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_long}/gcc-%{V_long}.tar.bz2
|
|
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_long}/gcc-%{V_long}.tar.bz2
|
|
|
|
|
+Patch0: gcc.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -67,6 +68,7 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -n gcc-%{V_long}
|
|
%setup -q -n gcc-%{V_long}
|
|
|
|
|
+ %patch -p0
|
|
|
%{l_shtool} subst -v -s \
|
|
%{l_shtool} subst -v -s \
|
|
|
-e "s;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g" \
|
|
-e "s;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g" \
|
|
|
gcc/configure
|
|
gcc/configure
|
|
@@ -111,7 +113,7 @@ AutoReqProv: no
|
|
|
l_boot_cflags=""
|
|
l_boot_cflags=""
|
|
|
l_cflags=""
|
|
l_cflags=""
|
|
|
l_libcflags="-g"
|
|
l_libcflags="-g"
|
|
|
- l_libcxxflags="-g -fno-implicit-templates"
|
|
|
|
|
|
|
+ l_libcxxflags="-g"
|
|
|
%endif
|
|
%endif
|
|
|
%{l_make} %{l_mflags} \
|
|
%{l_make} %{l_mflags} \
|
|
|
MAKE="%{l_make} %{l_mflags}" \
|
|
MAKE="%{l_make} %{l_mflags}" \
|