diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2001-08-26 13:13:20 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2001-08-26 13:13:20 +0000 |
commit | 511d1df11794792392e5d09068371c278b671a4d (patch) | |
tree | ad2a494c542dc5f5a8becfedcd8fd721f447afc6 | |
parent | 92bc87240784d78894c4ec1ba5be639f41c72628 (diff) |
Portland Group compiler needs '-tused' for proper template instantiation.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@21 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r-- | src/make.code.defn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index ab0fe70..b1b1a11 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -67,6 +67,12 @@ ifeq ($(UNAME), Linux) CXXFLAGS += -DANSI +# Portland group compiler has special flag +# to control instantiation of template functions +ifeq ($(CXX), pgCC) +CXXFLAGS += -tused +endif + endif # Macintosh /PowerMach-MachTen |