summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2001-04-13 01:21:16 +0000
committerSteve Huston <shuston@riverace.com>2001-04-13 01:21:16 +0000
commit60aceb30e33da6664f087bafa0379ca9526c3c7e (patch)
tree89bf59e9d7a09a79b32b62e13e2f634360921935 /include
parent9ad2536386669d6469de4891d7e2ebfedaeb0c47 (diff)
downloadATCD-60aceb30e33da6664f087bafa0379ca9526c3c7e.tar.gz
ChangeLogTag:Thu Apr 12 21:18:44 2001 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_hpux_aCC.GNU11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU
index c6e3c45c8dd..8c5a82122b1 100644
--- a/include/makeinclude/platform_hpux_aCC.GNU
+++ b/include/makeinclude/platform_hpux_aCC.GNU
@@ -45,16 +45,21 @@ CC = /bin/cc
CXX = aCC
# Extract the compiler version number. If it's A.03.27 (on HP-UX 11) or
-# A.01.27 (on HP-UX 10.20) then we can turn on the standard C++ library
-# usage, else we need to stick with the old one.
+# A.01.27 (on HP-UX 10.20) (or higher) then we can turn on the standard
+# C++ library usage, else we need to stick with the old one.
CXXVERS_WORDS := $(subst ., , $(shell $(CXX) -V 2>&1))
CXXVERS := $(word 8, $(CXXVERS_WORDS))
ifneq (27,$(CXXVERS))
+ifneq (30,$(CXXVERS))
stdcpplib = 0
endif
+endif
ifeq (1,$(stdcpplib))
- CCFLAGS += -AA -DACE_HAS_STANDARD_CPP_LIBRARY
+ CCFLAGS += -AA -DACE_HAS_STANDARD_CPP_LIBRARY=1
+ifeq (1, $(threads))
+ CCFLAGS += -D_RWSTD_MULTI_THREAD -D_REENTRANT
+endif
# Compile errors using -AA and +noeh together - HP support call 3100620459
# -- Steve Huston, April 10, 2001.
exceptions = 1