Changes for intel compiler
[u/mrichter/AliRoot.git] / Makefile
index 33f27bbb2e5afe200d32363606b1641ff6293ecb..50d2aaba266eb3d3b3e17c069f49060ae7548275 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)