diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-04-06 03:50:28 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-04-06 03:50:28 +0000 |
| commit | f7e19a98fdf21f5d7bddacbea2f6a7e030cd32f5 (patch) | |
| tree | 0128e1de37ab3a9e197591b92d968f4c930a3c88 /tools | |
| parent | 5222688930de5d772390de896432325e2faf7726 (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build/Makefile.boot | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/build/Makefile.boot b/tools/build/Makefile.boot index e4899811d4a5..74c51196b71b 100644 --- a/tools/build/Makefile.boot +++ b/tools/build/Makefile.boot @@ -1,16 +1,18 @@ # $FreeBSD$ # FreeBSD didn't always have the __FBSDID() macro in <sys/cdefs.h>. +# We could do this with a sys/cdefs.h wrapper, but given that this would +# slow down all new builds for such a simple concept, we do it here. .if defined(BOOTSTRAPPING) && \ ( ${BOOTSTRAPPING} < 440001 || \ ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 )) CFLAGS+= -D__FBSDID=__RCSID .endif -CFLAGS+= -I${WORLDTMP}/usr/include -DPADD= ${WORLDTMP}/usr/lib/libbuild.a +CFLAGS+= -I${WORLDTMP}/build/usr/include +DPADD= ${WORLDTMP}/build/usr/lib/libbuild.a LDADD= -lbuild -LDFLAGS= -L${WORLDTMP}/usr/lib +LDFLAGS= -L${WORLDTMP}/build/usr/lib OLD_MAKE_CONF?= /etc/make.conf .if exists(${OLD_MAKE_CONF}) |
