summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authortnn <tnn>2008-01-15 10:08:18 +0000
committertnn <tnn>2008-01-15 10:08:18 +0000
commitbc44d9fb6983178c425429521b15483a2a4d24d9 (patch)
treee49b2c92f22e30e1f2f69262fd7b49fb365e7336 /mk/compiler
parenteac3582014d1f6c786d2200f5484eeae17dcf1c3 (diff)
downloadpkgsrc-bc44d9fb6983178c425429521b15483a2a4d24d9.tar.gz
Always tell the C++ compiler that we want support for ANSI C++ features
like namespace std enabled.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/hp.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/compiler/hp.mk b/mk/compiler/hp.mk
index afa7aa3e622..7d5e0eeb46c 100644
--- a/mk/compiler/hp.mk
+++ b/mk/compiler/hp.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hp.mk,v 1.3 2007/05/28 11:07:00 martti Exp $
+# $NetBSD: hp.mk,v 1.4 2008/01/15 10:08:18 tnn Exp $
#
# This is the compiler definition for the HP-UX C/aC++ compilers.
#
@@ -41,6 +41,9 @@ CC_VERSION_STRING?= ${CC_VERSION}
CC_VERSION?= hp
.endif
+# Turn ANSI C++ features like namespace std, STL and correct scoping
+_WRAP_EXTRA_ARGS.CXX+= -AA -Aa
+
# HP comilers pass flags to the linker using "-Wl,".
_COMPILER_LD_FLAG= -Wl,