ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gcc.spec
(Generate patch)

Comparing COMP/CMSDIST/gcc.spec (file contents):
Revision 1.73 by eulisse, Mon May 23 10:25:11 2011 UTC vs.
Revision 1.75 by elmer, Mon May 23 16:40:23 2011 UTC

# Line 134 | Line 134 | esac
134   # Whenever we build custom binutils we also enable the new linker "gold".
135   # We do so only if we are using the new gcc 4.5+
136   if [ "X%use_custom_binutils:%gcc_45plus" = Xtrue:true ] ; then
137 <  CONF_BINUTILS_OPTS="--enable-gold --enable-lto --enable-plugins --enable-threads"
137 >  CONF_BINUTILS_OPTS="--enable-gold=default --enable-lto --enable-plugins --enable-threads"
138   fi
139  
140   USER_CXX=$CCOPTS
# Line 160 | Line 160 | then
160    make install
161    export PATH=%i/tmp/bison/bin:$PATH
162    cd ../binutils-%{binutilsv}
163 <  # Try to avoid dependency on makeinfo.
164 <  perl -p -i -e 's|SUBDIRS = .*|SUBDIRS =|' bfd/Makefile.in binutils/Makefile.in
163 >  # Try to avoid dependency on makeinfo by forcing make not
164 >  # to build the documentation.
165 >  perl -p -i -e 's|SUBDIRS = .*|SUBDIRS =|' bfd/Makefile.in binutils/Makefile.in gas/Makefile.in
166    perl -p -i -e 's|all: info|all:|' etc/Makefile.in
167 +  perl -p -i -e 's|TEXINFOS =.*|TEXINFOS =|;s|INFO_DEPS =.*|INFO_DEPS =|' gprof/Makefile.in
168 +  perl -p -i -e 's|man_MANS =.*|man_MANS =|' gprof/Makefile.in
169 +  perl -p -i -e 's|INFO_DEPS =.*|INFO_DEPS =|' ld/Makefile.in
170 +  perl -p -i -e 's|INFOFILES =.*|INFOFILES =|' etc/Makefile.in
171 +  perl -p -i -e 's|DVIFILES =.*|DVIFILES =|' etc/Makefile.in
172 +  perl -p -i -e 's|PDFFILES =.*|PDFFILES =|' etc/Makefile.in
173 +  perl -p -i -e 's|HTMLFILES =.*|HTMLFILES =|' etc/Makefile.in        
174  
175 <  ./configure --prefix=%i ${CONF_BINUTILS_OPTS} \
175 >  ./configure --prefix=%i ${CONF_BINUTILS_OPTS} --disable-werror \
176                CC="gcc $CCOPTS" CFLAGS="-I%i/include" \
177                CXXFLAGS="-I%i/include" LDFLAGS="-L%i/lib"
178    make %makeprocesses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines