]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.linux
Updated OCDB entries taken from 2009 RAW OCDB. The Pb-Pb entry is put temporarely...
[u/mrichter/AliRoot.git] / build / Makefile.linux
index bbecf2661838a5725a82bab39a3664bce99bbdf6..849fa6f4ec504195e643f7cde19ac7f9aa108a17 100644 (file)
@@ -5,15 +5,11 @@
 
 XARGS = xargs -r
 
-# The compilers
-CXX           = $(shell root-config --cxx)  
-CC           = $(shell root-config --cc) 
 CCMAJORV      = $(shell $(CC) -dumpversion | cut -d. -f1)
 CCMINORV      = $(shell $(CC) -dumpversion | cut -d. -f2)
-F77          = $(shell root-config --f77)
 
 # Global optimisation
-OPT           = -O0 -g
+OPT           = -O -g
 NOOPT         = -g
 
 CXXOPT        = $(OPT)
@@ -78,8 +74,8 @@ ifneq (,$(findstring g95,$(F77)))
 SHLIB += -L$(shell $(F77) --print-search-dirs | sed -n -e 's/install: //p') -lf95
 else
 ifneq (,$(findstring gfortran,$(F77)))
-SHLIB := $(shell $(F77) -print-file-name=libgfortran.so)
-SHLIB += $(shell $(F77) -print-file-name=libgfortranbegin.a)
+SHLIB := $(shell $(F77) -m32 -print-file-name=libgfortran.so)
+SHLIB += $(shell $(F77) -m32 -print-file-name=libgfortranbegin.a)
 SYSLIBS += $(SHLIB)
 else
 SHLIB         = -lg2c