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.3 by eulisse, Fri Mar 31 15:52:21 2006 UTC vs.
Revision 1.13 by ratnik, Wed Apr 18 23:46:01 2007 UTC

# Line 1 | Line 1
1 < ### RPM external gcc 3.4.4
1 > ### RPM external gcc 3.4.5
2 > Requires: gcc-wrapper
3   ## INITENV +PATH LD_LIBRARY_PATH %i/lib/32
4   ## INITENV +PATH LD_LIBRARY_PATH %i/lib64
5 < ## BUILDIF [ $(uname) != Darwin ]
5 > ## BUILDIF case $(uname):$(uname -p) in Linux:i*86 ) true ;; Linux:x86_64 ) true ;;  Linux:ppc64 ) false ;; Darwin:* ) false ;; * ) true ;; esac
6   Source: ftp://ftp.fu-berlin.de/unix/gnu/%n/%n-%v/%n-%v.tar.bz2
7 <
7 > %define cpu %(echo %cmsplatf | cut -d_ -f2)
8   %build
9 + ## IMPORT gcc-wrapper
10   # FIXME: --enable-__cxa_atexit can't be used with gcc 3.2.3 on RH 7.3,
11   # enabling it causes qt's uic to die with segmentation violation half
12   # way down the build of qt (projecsettings.ui or something like that;
# Line 27 | Line 29 | make %makeprocesses bootstrap
29   %install
30   cd obj && make install
31   ln -s gcc %i/bin/cc
32 + %post
33 + %{relocateConfig}lib/libg2c.la
34 + %{relocateConfig}lib/libstdc++.la
35 + %{relocateConfig}lib/libsupc++.la
36 + %if "%cpu" == "amd64"
37 + %{relocateConfig}lib64/libg2c.la
38 + %{relocateConfig}lib64/libstdc++.la
39 + %{relocateConfig}lib64/libsupc++.la
40 + %{relocateConfig}lib/32/libg2c.la
41 + %{relocateConfig}lib/32/libstdc++.la
42 + %{relocateConfig}lib/32/libsupc++.la
43 + %endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines