diff options
Diffstat (limited to 'src/make.code.defn')
-rw-r--r-- | src/make.code.defn | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index b1b1a11..7d54246 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -32,14 +32,24 @@ endif # 64 Bit Irix ifeq ($(UNAME), IRIX64) -CXXFLAGS += -DANSI -ptused -DSGI +# check for native or GNU compiler +ifeq ($(CXX), CC) + CXXFLAGS += -DANSI -ptused -DSGI +else + CXXFLAGS += -DANSI +endif endif # 32 Bit Irix ifeq ($(UNAME), IRIX) -CXXFLAGS += -DANSI -ptused -DSGI +# check for native or GNU compiler +ifeq ($(CXX), CC) + CXXFLAGS += -DANSI -ptused -DSGI +else + CXXFLAGS += -DANSI +endif endif @@ -126,4 +136,3 @@ CXX_FLAGS_solaris2.7 = -instances=static CXX_FLAGS_solaris2.8 = -instances=static CXXFLAGS += $(CXX_FLAGS_${OS}) - |