Removing wrong -m32 (Jochen)
[u/mrichter/AliRoot.git] / cmake / CMakelinuxx8664gcc.cmake
index ab2d1a5bec2755a3c655a7ed4a0da0d64ce611f1..c25cf296e3f503034503d8553aa63464d4ea4bc2 100644 (file)
@@ -86,10 +86,10 @@ if(${CMAKE_Fortran_COMPILER} MATCHES "g95")
 elseif(${CMAKE_Fortran_COMPILER} MATCHES "gfortran")
   
   set(FFLAGS "-DFORTRAN_GFORTRAN ${FFLAGS}")
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortran.so
+  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortran.so
                   OUTPUT_VARIABLE _shlib
                   OUTPUT_STRIP_TRAILING_WHITESPACE)
-  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -m32 -print-file-name=libgfortranbegin.a
+  execute_process(COMMAND ${CMAKE_Fortran_COMPILER} -print-file-name=libgfortranbegin.a
                   OUTPUT_VARIABLE SHLIB
                   OUTPUT_STRIP_TRAILING_WHITESPACE)
   set(SHLIB "${_shlib} ${SHLIB}")