No optimization with gcc 4.3.0
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 12:41:51 +0000 (12:41 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 May 2008 12:41:51 +0000 (12:41 +0000)
MUON/libMUONsim.pkg

index dea1f46..9ff4cea 100644 (file)
@@ -36,7 +36,11 @@ DHDR:= MUONsimLinkDef.h
 
 EINCLUDE:= RAW MUON/mapping
 
-#PACKCXXFLAGS:= $(CXXFLAGS) -Wall
+ifeq ($(CCMAJORV),4)
+ifeq ($(CCMINORV),3)
+PACKCXXFLAGS:= $(filter-out -O, $(CXXFLAGS)) -O0
+endif
+endif
 
 ifeq (win32gcc,$(ALICE_TARGET))
 PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \