summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-03-22 18:36:41 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-03-22 18:36:41 +0000
commit0c77ef0f0868aec3155d722c32e16f2d4d22fe2e (patch)
tree8f183038277baed8ef848debefc0882f69579476
parentd848d77ad786c8d283d09f0c54022d7b221e6df7 (diff)
Notes
-rwxr-xr-xrelease/picobsd/build/picobsd8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd
index 04ff918752dd..ab1fdad51ea7 100755
--- a/release/picobsd/build/picobsd
+++ b/release/picobsd/build/picobsd
@@ -151,15 +151,15 @@ create_includes_and_libraries() {
mkdir -p ${l_usrtree}/share/misc # a few things go here
mkdir -p ${l_usrtree}/lib # libraries
mkdir -p ${l_usrtree}/sbin # some binaries
- (cd ${SRC}; INCOWN=`id -un` BINOWN=`id -un` DESTDIR=${SRC}/.. \
+ (cd ${SRC}; INCOWN=`id -un` BINOWN=`id -un` DESTDIR=${l_usrtree}/.. \
make -m ${SRC}/share/mk includes ) || fail $? includes
- # libraries already have the include path in the Makefile
- CFLAGS="-nostdinc" ; export CFLAGS
+ # Pick up the correct headers for libraries.
+ CFLAGS="-nostdinc -I${l_usrtree}/include" ; export CFLAGS
(cd ${SRC}
# $e is the invocation of make with correct environment
e="MAKEOBJDIRPREFIX=${l_objtree}/picobsd/libraries \
- INCOWN=`id -un` BINOWN=`id -un` DESTDIR=${SRC}/.. \
+ INCOWN=`id -un` BINOWN=`id -un` DESTDIR=${l_usrtree}/.. \
make -m ${SRC}/share/mk \
-DNOHTML -DNOINFO -DNOMAN -DNOSHARE -DNOFSCHG "
log "do a 'make obj' in a few places."