diff options
author | schmonz <schmonz> | 2002-06-02 00:40:18 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2002-06-02 00:40:18 +0000 |
commit | 15c0d27f3c13d4de0cecb759b1d33926ae264ff9 (patch) | |
tree | ad45e76d86a46daf5ed3f994343e1b31b5d441cd /mk/bsd.pkg.mk | |
parent | fa31d4e3fd48646e2282a19358f2e0ec15a0836a (diff) | |
download | pkgsrc-15c0d27f3c13d4de0cecb759b1d33926ae264ff9.tar.gz |
Introduce CPP_PRECOMP_FLAGS, defaulting to "-no-cpp-precomp" on
Darwin (meaning "don't use the OS X cpp that groks precompiled
headers", which gets us the more compatible GNU cpp instead), and
blank on other systems.
Approved by agc and yyamano.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 068d9e7e286..c759289ecaf 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.985 2002/05/29 21:30:30 schmonz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.986 2002/06/02 00:40:18 schmonz Exp $ # # This file is in the public domain. # @@ -269,6 +269,8 @@ LIBS+= -L${LOCALBASE}/lib -lintl . endif .endif +CPPFLAGS+= ${CPP_PRECOMP_FLAGS} + # If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script. # also pass in a CONFIG_SHELL to avoid picking up bash .if defined(GNU_CONFIGURE) |