Source-Changes-HG archive

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

[src/trunk]: src/external/historical/nawk/bin Fix build with clang



details:   https://anonhg.NetBSD.org/src/rev/68ef9fda7cd1
branches:  trunk
changeset: 792820:68ef9fda7cd1
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Jan 17 16:31:45 2014 +0000

description:
Fix build with clang

diffstat:

 external/historical/nawk/bin/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 22d29bd42afa -r 68ef9fda7cd1 external/historical/nawk/bin/Makefile
--- a/external/historical/nawk/bin/Makefile     Fri Jan 17 14:57:04 2014 +0000
+++ b/external/historical/nawk/bin/Makefile     Fri Jan 17 16:31:45 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2012/08/10 16:05:26 joerg Exp $
+#      $NetBSD: Makefile,v 1.10 2014/01/17 16:31:45 roy Exp $
 
 WARNS?= 4
 CWARNFLAGS.clang+=     -Wno-self-assign
@@ -17,9 +17,9 @@
 DPADD+=        ${LIBM}
 .endif
 YHEADER=       yes
-COPTS+=        -Wno-pointer-sign
-COPTS.run.c += -Wno-format-nonliteral
-COPTS.tran.c += -Wno-format-nonliteral
+CWARNFLAGS+=   -Wno-pointer-sign
+COPTS.run.c+=  -Wno-format-nonliteral
+COPTS.tran.c+= -Wno-format-nonliteral
 
 # info file originally from GNU awk 3.1.3, adjusted for nawk slightly
 .PATH: ${NETBSDSRCDIR}/external/gpl2/gawk/dist



Home | Main Index | Thread Index | Old Index