diff --git a/tools/Makefile.gnuhost b/tools/Makefile.gnuhost index b6b25d31e255..51ec5465b132 100644 --- a/tools/Makefile.gnuhost +++ b/tools/Makefile.gnuhost @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.gnuhost,v 1.19 2003/07/18 08:26:12 lukem Exp $ +# $NetBSD: Makefile.gnuhost,v 1.20 2003/10/07 14:12:36 dbj Exp $ # # Rules used when building a GNU host package. Expects MODULE to be set. # @@ -17,6 +17,12 @@ .include +# Disable use of pre-compiled headers on Darwin. +BUILD_OSTYPE!= uname -s +.if ${BUILD_OSTYPE} == "Darwin" +HOST_CFLAGS+= -no-cpp-precomp +.endif + GNUHOSTDIST?= ${.CURDIR}/../../gnu/dist/${MODULE} FIND_ARGS+= \! \( -type d \( \