From ddfd4115444cbce992363c7319b9a912b80bf16d Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 15 Jan 2008 10:08:18 +0000 Subject: Always tell the C++ compiler that we want support for ANSI C++ features like namespace std enabled. --- mk/compiler/hp.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mk/compiler') 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, -- cgit v1.2.3