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

Comparing COMP/CMSDIST/geant4.spec (file contents):
Revision 1.112 by davidlt, Tue Feb 28 10:43:39 2012 UTC vs.
Revision 1.115 by davidlt, Wed Apr 4 08:05:46 2012 UTC

# Line 7 | Line 7 | Source0: http://geant4.cern.ch/support/s
7  
8   Patch0: geant-4.8.2.p01-nobanner
9   Patch1: geant4-9.4.p03-fix-anti-proton-bug
10 + Patch2: geant4-9.4.p03-use-CXXFLAGS-env-variable
11 +
12 + %if "%{?cms_cxxflags:set}" != "set"
13 + %define cms_cxxflags -std=c++0x -O2
14 + %endif
15  
16   %prep
17   %setup -n %n.%downloadv
18  
19   %patch0 -p1
20   %patch1 -p1
21 <
21 > %patch2 -p1
22 >
23   %build
24   if [ $(uname) = Darwin ]; then
25    export MACOSX_DEPLOYMENT_TARGET="10.4"
# Line 21 | Line 27 | fi
27  
28   # Linux? -pthread?
29   touch G4BuildConf.sh
30 + echo "export CXXFLAGS='%{cms_cxxflags}'" >> G4BuildConf.sh
31   echo "export OS_ARCH=%{cmsplatf}" >> G4BuildConf.sh
32   #FIXME: is this correct???
33   echo "export G4SYSTEM=$(uname)-g++" >> G4BuildConf.sh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines