Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools Pass -no-cpp-precomp to the C preprocessor on Darwin; ...
details: https://anonhg.NetBSD.org/src/rev/4e6c68afc8ea
branches: trunk
changeset: 544146:4e6c68afc8ea
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Mar 13 04:43:37 2003 +0000
description:
Pass -no-cpp-precomp to the C preprocessor on Darwin; our use of
libnbcompat is incompatible with pre-compiled headers (which the
compiler correctly detects, but warns about profusely).
diffstat:
tools/Makefile.host | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r b288a20aab5f -r 4e6c68afc8ea tools/Makefile.host
--- a/tools/Makefile.host Thu Mar 13 04:40:45 2003 +0000
+++ b/tools/Makefile.host Thu Mar 13 04:43:37 2003 +0000
@@ -1,10 +1,17 @@
-# $NetBSD: Makefile.host,v 1.17 2002/01/29 10:20:31 tv Exp $
+# $NetBSD: Makefile.host,v 1.18 2003/03/13 04:43:37 thorpej Exp $
NOLINT= # defined
NOMAN= # defined
.include <bsd.own.mk>
+BUILD_OSTYPE!= uname -s
+
+# Disable use of pre-compiled headers on Darwin.
+.if ${BUILD_OSTYPE} == "Darwin"
+HOST_CPPFLAGS+= -no-cpp-precomp
+.endif
+
.ifndef NOCOMPATLIB
COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
.-include "${COMPATOBJ}/defs.mk"
Home |
Main Index |
Thread Index |
Old Index