Changes for intel compiler
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Dec 2010 10:07:36 +0000 (10:07 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Dec 2010 10:07:36 +0000 (10:07 +0000)
LHAPDF/liblhapdf.pkg
Makefile

index ee2a74c..52bfa42 100644 (file)
@@ -59,9 +59,13 @@ else
 ifeq (linuxicc,$(ALICE_TARGET))
 PACKFFLAGS = $(FFLAGS) -nofixed
 else
+ifeq (macosxicc,$(ALICE_TARGET))
+PACKFFLAGS = $(FFLAGS) -free
+else
 PACKFFLAGS = $(FFLAGS) -ffree-form
 endif
 endif
+endif
 PACKCXXFLAGS = $(CXXFLAGS) -DDEFAULTPREFIXPATH=\"NONE\" -DDEFAULTLHAPATH=\"../AliRoot/LHAPDF/PDFsets\"
 EXPORT:=AliStructFuncType.h
 
index 33f27bb..50d2aab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,9 @@ CXXFLAGSNO += $(GENINC) $(RCFLAGS) -Wno-write-strings
 CFLAGS     += $(GENINC) $(RCFLAGS)
 CINTFLAGS  += $(GENINC) $(RCFLAGS)
 FFLAGS    += $(RCFLAGS)
+ifeq (macosxicc,$(ALICE_TARGET))
+FFLAGS     := $(patsubst -pthread, -reentrancy threaded, $(FFLAGS))
+endif
 LDFLAGS    += $(RLFLAGS)
 SOFLAGS    += $(RLFLAGS)
 DEPINC     += $(GENINC)