pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler Always tell the C++ compiler that we want ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0a3271da21c
branches:  trunk
changeset: 537736:c0a3271da21c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jan 15 10:08:18 2008 +0000

description:
Always tell the C++ compiler that we want support for ANSI C++ features
like namespace std enabled.

diffstat:

 mk/compiler/hp.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b0d4cbcc19b2 -r c0a3271da21c mk/compiler/hp.mk
--- a/mk/compiler/hp.mk Tue Jan 15 08:56:52 2008 +0000
+++ b/mk/compiler/hp.mk Tue Jan 15 10:08:18 2008 +0000
@@ -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?=           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,
 



Home | Main Index | Thread Index | Old Index