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.20 by eulisse, Wed May 9 12:32:52 2007 UTC vs.
Revision 1.21 by elmer, Tue May 22 06:38:04 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gcc 3.4.5
1 > ### RPM external gcc 3.4.5-XXXX
2   ## INITENV +PATH LD_LIBRARY_PATH %i/lib/32
3   ## INITENV +PATH LD_LIBRARY_PATH %i/lib64
4   ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) true ;; esac
5 %define realversion %(echo %v | cut -d- -f1 )
5   Source0: ftp://ftp.fu-berlin.de/unix/gnu/%n/%n-%realversion/%n-%realversion.tar.bz2
6   %define binutilsv 2.17
7   Source1: http://ftp.gnu.org/gnu/binutils/binutils-%binutilsv.tar.bz2
# Line 82 | Line 81 | CC="gcc $CCOPTS" ./configure --prefix=%i
81   make %makeprocesses
82  
83   # Build the compilers
84 < cd ../gcc-%v
84 > cd ../gcc-%realversion
85   mkdir -p obj
86   cd obj
87   CC="gcc $CCOPTS" \
# Line 95 | Line 94 | CC="gcc $CCOPTS" \
94   make %makeprocesses bootstrap
95  
96   %install
97 < cd %_builddir/gcc-%{v}/obj && make install
97 > cd %_builddir/gcc-%{realversion}/obj && make install
98   ln -s gcc %i/bin/cc
99   find %i/lib %i/lib32 %i/lib64 -name '*.la' -exec rm -f {} \; || true
100  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines