From 511d1df11794792392e5d09068371c278b671a4d Mon Sep 17 00:00:00 2001 From: tradke Date: Sun, 26 Aug 2001 13:13:20 +0000 Subject: 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 --- src/make.code.defn | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3