diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2007-08-30 16:04:38 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2007-08-30 16:04:38 +0000 |
commit | 55b510784c16c992a3b8babadf03c2a7eee95331 (patch) | |
tree | 549db7a848c4ad9effaaec08e36fd01cae9574cc /src/make.code.defn | |
parent | 2a003f7774c5fcc8d753c3fa125de1992ee3db6a (diff) |
don't use '-tused' flag for pgCC version 7
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@82 21a6bef8-4479-4f54-8f8d-0db94a2919ef
Diffstat (limited to 'src/make.code.defn')
-rw-r--r-- | src/make.code.defn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index 697539b..0e06221 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -85,11 +85,14 @@ ifeq ($(UNAME), Linux) CXXFLAGS += -DANSI -# Portland group compiler has special flag +# Portland group compiler < 7.x has special flag # to control instantiation of template functions ifeq ($(CXX), pgCC) +IS_PGI7 := $(shell pgCC -V | grep 'pgCC 7') +ifeq ($(IS_PGI7),) CXXFLAGS += -tused endif +endif endif |