Module Name:    src
Committed By:   roy
Date:           Fri Jan 17 16:31:45 UTC 2014

Modified Files:
        src/external/historical/nawk/bin: Makefile

Log Message:
Fix build with clang


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/historical/nawk/bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/historical/nawk/bin/Makefile
diff -u src/external/historical/nawk/bin/Makefile:1.9 src/external/historical/nawk/bin/Makefile:1.10
--- src/external/historical/nawk/bin/Makefile:1.9	Fri Aug 10 16:05:26 2012
+++ src/external/historical/nawk/bin/Makefile	Fri Jan 17 16:31:45 2014
@@ -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 @@ LDADD+=	-lm
 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

Reply via email to