]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - cmake/CMakemacosx64.cmake
Merge remote-tracking branch 'remotes/origin/master' into TPCdev
[u/mrichter/AliRoot.git] / cmake / CMakemacosx64.cmake
index 93833e9a15f0f0d436cb5bff65d49923ef2ecfae..f6c24a416dac87325adaeee6e727d0fc7e89bd0a 100644 (file)
@@ -67,7 +67,7 @@ set ( CLIBCXXOPTS )
 set ( CLIBCOPT )
 set ( CLIBFOPT  ${CLIBDEFS})
 
-set ( CXXWARN  "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual -ansi")
+set ( CXXWARN  "-Wall -Wno-long-long -W -Weffc++ -Wshadow -Woverloaded-virtual")
 
 if ( CMAKE_CXX_COMPILER MATCHES "clang") 
      
@@ -76,17 +76,17 @@ if ( CMAKE_CXX_COMPILER MATCHES "clang")
 else( CMAKE_CXX_COMPILER MATCHES "clang")
 
      set ( CXXSTF  "-pipe -fbounds-check -fsigned-char -fno-common -fmessage-length=0 -fno-default-inline -fno-inline -I/usr/X11R6/include -I${FINK_ROOT}/include")
+     set (CXXWARN "${CXXWARN} -ansi")
 
 endif( CMAKE_CXX_COMPILER MATCHES "clang")
 
-
 set ( CXXFLAGS  "${CXXOPT} ${CXXSTF}")
 
 set ( CXXFLAGSNO  "${CXXNOOPT} ${CXXSTF}")
 
 set ( CFLAGS  "${COPT} -Wall -W -fno-common -pipe -I${FINK_ROOT}/include")
 
-set ( FFLAGS "${FFLAGS} -DFORTRAN_GFORTRAN")
+set ( FFLAGS "${FFLAGS} -m64 -DFORTRAN_GFORTRAN")
 
 set ( CINTFLAGS )