From 55b510784c16c992a3b8babadf03c2a7eee95331 Mon Sep 17 00:00:00 2001 From: tradke Date: Thu, 30 Aug 2007 16:04:38 +0000 Subject: 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 --- src/make.code.defn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3