Restore symmetry between CXXFLAGS and the other compilation flags, now
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
index f751cf12ab2ae923fe04dde9d3ed87ccd8d9e252..1e60b54b85ab5dc160a9f4cd73f127b1049617f5 100644 (file)
@@ -7,13 +7,13 @@ F77         = echo $*.F ; g77
 CC           = echo $*.c ; gcc
 
 # Global optimisation
-OPT           = -g
+OPT           = -O2
 
 # Shared library suffix
 SL           = so
 
 # The options
-CXXOPTS       = -Wall -fPIC  -fno-rtti -fno-exceptions
+CXXOPTS       = $(OPT) -Wall -fPIC  -fno-rtti -fno-exceptions
 COPT         = $(OPT)
 FOPT         = $(OPT) -fno-second-underscore
 
@@ -32,6 +32,8 @@ DEPINC        = -I/usr/local/include/g++ -I/usr/local/include \
                
 LD            = g++
 LDFLAGS       = $(OPT)
+
+SHLD         = $(LD)
 SOFLAGS       = -Wl,-soname,$(notdir $@) -shared 
 SHLIB         = -lg2c