set HOST_CFLAGS+= -no-cpp-precomp when configuring gnu software on Darwin

This commit is contained in:
dbj 2003-10-07 14:12:36 +00:00
parent 4728b0483f
commit 2fe0adbe32
1 changed files with 7 additions and 1 deletions

View File

@ -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 <bsd.own.mk>
# 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 \( \