From a46f237bdb193123f82eff253fba699c5099a9e8 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Sat, 1 Jul 2006 12:19:36 +0000
Subject: [PATCH] compile ROOTClassEnhancer with -O0 on MacOS X with icc 9.1
 (work around compiler crash).

git-svn-id: http://root.cern.ch/svn/root/trunk@15650 27541ba8-7e3a-0410-8455-c3a389f83636
---
 cintex/Module.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/cintex/Module.mk b/cintex/Module.mk
index d5ee07895ca..e5cd607ea89 100644
--- a/cintex/Module.mk
+++ b/cintex/Module.mk
@@ -121,4 +121,11 @@ $(CINTEXTESTDICTO): CXXFLAGSPCH =
 $(CINTEXTESTDICTS): $(CINTEXTESTDICTH) $(CINTEXTESTDICTD)/selection.xml
 		cd $(CINTEXTESTDICTD); $(GENREFLEX_CMD2) CintexTest.h -s selection.xml --rootmap=./rootmap --rootmap-lib=$(CINTEXTESTDICT) --quiet --comments
 
-
+##### extra rules ######
+ifeq ($(ARCH),macosx)
+ifeq ($(ICC_MAJOR),9)
+ifeq ($(ICC_MINOR),1)
+$(CINTEXDIRS)/ROOTClassEnhancer.o: OPT = $(NOOPT)
+endif
+endif
+endif
-- 
GitLab