diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-06-02 00:40:18 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-06-02 00:40:18 +0000 |
commit | 63ce60909f67c3490876ef1dabff5b3bae8f4dde (patch) | |
tree | ad45e76d86a46daf5ed3f994343e1b31b5d441cd /mk/bsd.pkg.mk | |
parent | d534de86c38277903958f838616627d297fbdcfe (diff) | |
download | pkgsrc-63ce60909f67c3490876ef1dabff5b3bae8f4dde.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) |