Source-Changes-HG archive

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

[src/trunk]: src/share/mk no-traditional is not a valid warning for c++ progr...



details:   https://anonhg.NetBSD.org/src/rev/e3d1ad428f8c
branches:  trunk
changeset: 556760:e3d1ad428f8c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 26 17:27:01 2003 +0000

description:
no-traditional is not a valid warning for c++ programs.

diffstat:

 share/mk/sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 425acc606bb9 -r e3d1ad428f8c share/mk/sys.mk
--- a/share/mk/sys.mk   Fri Dec 26 17:22:43 2003 +0000
+++ b/share/mk/sys.mk   Fri Dec 26 17:27:01 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sys.mk,v 1.81 2003/12/07 12:53:58 simonb Exp $
+#      $NetBSD: sys.mk,v 1.82 2003/12/26 17:27:01 christos Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
 unix?=         We run NetBSD.
@@ -43,7 +43,7 @@
 LINK.c?=       ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
 
 CXX?=          c++
-CXXFLAGS?=     ${CFLAGS}
+CXXFLAGS?=     ${CFLAGS:S/-Wno-traditional//}
 COMPILE.cc?=   ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
 LINK.cc?=      ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
 



Home | Main Index | Thread Index | Old Index