summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-11 18:09:08 +0000
committerru <ru@FreeBSD.org>2001-06-11 18:09:08 +0000
commitcce62bac31808c217eb2b60bf083526eeee2f51f (patch)
tree0e76775a42e48e6f252cfdfdc7c0d688436c6a04 /Makefile.inc1
parent3088bd3d27fb445f584e8e80d11b2d1bce31daa6 (diff)
downloadFreeBSD-src-cce62bac31808c217eb2b60bf083526eeee2f51f.zip
FreeBSD-src-cce62bac31808c217eb2b60bf083526eeee2f51f.tar.gz
- Restore -nostdinc that got lost in rev.1.105; we don't
want host headers during `buildworld'. - During `buildworld', install headers in a "copy" mode until we decide what to do with the (currently broken) SHARED=symlinks. - Temporarily run `buildworld' with -DNO_WERROR, which effectively disabled the -Werror bit of recently added WARNS=X feature. This is required because adding the -nostdinc bit back revealed bugs in some header files that were hiding after not using -nostdinc. It is unclear currently how exactly (and why) -nostdinc affects gcc(1) warnings.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b168e03..231a327 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -171,6 +171,7 @@ CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \
COMPILER_PATH=${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin \
LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib \
OBJFORMAT_PATH=${WORLDTMP}/usr/libexec \
+ CFLAGS="-nostdinc ${CFLAGS}" \
PERL5LIB=${WORLDTMP}/usr/libdata/perl/5.6.0 \
GROFF_BIN_PATH=${WORLDTMP}/usr/bin \
GROFF_FONT_PATH=${WORLDTMP}/usr/share/groff_font \
@@ -199,7 +200,7 @@ WMAKEENV= ${CROSSENV} \
DESTDIR=${WORLDTMP} \
INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${TMPPATH}
-WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1
+WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 -DNO_WERROR
# install stage
IMAKEENV= ${CROSSENV} \
@@ -291,7 +292,7 @@ buildworld:
@echo "--------------------------------------------------------------"
@echo ">>> stage 4: populating ${WORLDTMP}/usr/include"
@echo "--------------------------------------------------------------"
- cd ${.CURDIR}; ${WMAKE} SHARED=symlinks includes
+ cd ${.CURDIR}; ${WMAKE} SHARED=copies includes
@echo
@echo "--------------------------------------------------------------"
@echo ">>> stage 4: building libraries"
OpenPOWER on IntegriCloud