summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-02-28 09:59:26 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-02-28 09:59:26 +0000
commit4ffe56be970a2c930040b157369be41f28264c7b (patch)
treee0d59e78f4275e569386a75667105a11686bfcdf /include/makeinclude
parent974bb355f5d37113e09cff42d119c7f50a6c92af (diff)
downloadATCD-4ffe56be970a2c930040b157369be41f28264c7b.tar.gz
ChangeLogTag: Mon Feb 28 09:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/platform_hpux_aCC.GNU10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/makeinclude/platform_hpux_aCC.GNU b/include/makeinclude/platform_hpux_aCC.GNU
index 84774a1fa17..de5b6732fc6 100644
--- a/include/makeinclude/platform_hpux_aCC.GNU
+++ b/include/makeinclude/platform_hpux_aCC.GNU
@@ -118,6 +118,16 @@ ifeq (03,$(CXXMAJORVERS))
endif
CPPFLAGS += $(THR_DEFS) -D_HPUX_SOURCE -DHPUX_VERS=$(HPUX_VERS) -DACE_LACKS_PRAGMA_ONCE
+ifeq (03,$(CXXMAJORVERS))
+ ifeq (57,$(CXXMINORVERS))
+ # aCC 3.57 has a bug. When a class has private constructors
+ # and is trying to be created from a friend class we end up with
+ # a compile error. We disable array optimization in the compiler
+ # by setting this environment variable.
+ export aCC_ARRAY_OPT=OFF
+ endif
+endif
+
# If exception support is explicitly disabled, tell the compiler.
# This is not recommended since the run-time library can throw exceptions.
ifneq ($(exceptions),1)