Fri Jan 10 16:20:14 2014 UTC ()
not so fast, let's fix the tree first.


(christos)
diff -r1.233 -r1.234 src/share/mk/bsd.sys.mk

cvs diff -r1.233 -r1.234 src/share/mk/bsd.sys.mk (expand / switch to unified diff)

--- src/share/mk/bsd.sys.mk 2014/01/10 16:16:57 1.233
+++ src/share/mk/bsd.sys.mk 2014/01/10 16:20:14 1.234
@@ -1,24 +1,24 @@ @@ -1,24 +1,24 @@
1# $NetBSD: bsd.sys.mk,v 1.233 2014/01/10 16:16:57 christos Exp $ 1# $NetBSD: bsd.sys.mk,v 1.234 2014/01/10 16:20:14 christos Exp $
2# 2#
3# Build definitions used for NetBSD source tree builds. 3# Build definitions used for NetBSD source tree builds.
4 4
5.if !defined(_BSD_SYS_MK_) 5.if !defined(_BSD_SYS_MK_)
6_BSD_SYS_MK_=1 6_BSD_SYS_MK_=1
7 7
8.if !empty(.INCLUDEDFROMFILE:MMakefile*) 8#.if !empty(.INCLUDEDFROMFILE:MMakefile*)
9error: 9#error:
10 @(echo "bsd.sys.mk should not be included from Makefiles" >& 2; exit 1) 10# @(echo "bsd.sys.mk should not be included from Makefiles" >& 2; exit 1)
11.endif 11#.endif
12 12
13.if ${MKREPRO:Uno} == "yes" 13.if ${MKREPRO:Uno} == "yes"
14CPPFLAGS+= -Wp,-iremap,${NETBSDSRCDIR}:/usr/src 14CPPFLAGS+= -Wp,-iremap,${NETBSDSRCDIR}:/usr/src
15CPPFLAGS+= -Wp,-iremap,${DESTDIR}/:/ 15CPPFLAGS+= -Wp,-iremap,${DESTDIR}/:/
16CPPFLAGS+= -Wp,-iremap,${X11SRCDIR}:/usr/xsrc 16CPPFLAGS+= -Wp,-iremap,${X11SRCDIR}:/usr/xsrc
17.endif 17.endif
18 18
19# Enable c99 mode by default. 19# Enable c99 mode by default.
20# This has the side effect of complaining for missing prototypes 20# This has the side effect of complaining for missing prototypes
21# implicit type declarations and missing return statements. 21# implicit type declarations and missing return statements.
22.if defined(HAVE_GCC) || defined(HAVE_LLVM) 22.if defined(HAVE_GCC) || defined(HAVE_LLVM)
23CFLAGS+= -std=gnu99 23CFLAGS+= -std=gnu99
24.endif 24.endif