summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-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,