Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Disable pre-compiled headers on Darwin.
details: https://anonhg.NetBSD.org/src/rev/2e8a7cf0cbab
branches: trunk
changeset: 544148:2e8a7cf0cbab
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Mar 13 05:00:28 2003 +0000
description:
Disable pre-compiled headers on Darwin.
diffstat:
tools/compat/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 5a9ebf8c2afd -r 2e8a7cf0cbab tools/compat/Makefile
--- a/tools/compat/Makefile Thu Mar 13 04:50:53 2003 +0000
+++ b/tools/compat/Makefile Thu Mar 13 05:00:28 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/12/04 23:27:54 lukem Exp $
+# $NetBSD: Makefile,v 1.21 2003/03/13 05:00:28 thorpej Exp $
HOSTLIB= nbcompat
@@ -13,6 +13,13 @@
_err.c _errx.c _verr.c _verrx.c _vwarn.c _vwarnx.c \
_warn.c _warnx.c __fts13.c __glob13.c
+BUILD_OSTYPE!= uname -s
+
+# Disable use of pre-compiled headers on Darwin.
+.if ${BUILD_OSTYPE} == "Darwin"
+CPPFLAGS+= -no-cpp-precomp
+.endif
+
# -D_FILE_OFFSET_BITS=64 produces a much more amenable `struct stat', and
# other file ops, on many systems, without changing function names.
Home |
Main Index |
Thread Index |
Old Index