diff options
author | jlam <jlam> | 2001-06-15 08:33:04 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-15 08:33:04 +0000 |
commit | 1924c6abd9039d8ab92451d3ab14486eaad1458c (patch) | |
tree | 4873e211c4fc80e5c47da6ac0c2d57663bb5a7c6 | |
parent | e0ad3170df6317120d4955657598ce2a8ec6a521 (diff) | |
download | pkgsrc-1924c6abd9039d8ab92451d3ab14486eaad1458c.tar.gz |
Pass BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS through CONFIGURE_ENV and
MAKE_ENV.
-rw-r--r-- | mk/bsd.buildlink.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index c4c035dee97..c09a2bf356c 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink.mk,v 1.4 2001/06/13 16:00:52 jlam Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.5 2001/06/15 08:33:04 jlam Exp $ # # This Makefile fragment is included by package buildlink.mk files. This # file does the following things: @@ -74,6 +74,11 @@ CFLAGS+= ${BUILDLINK_CPPFLAGS} CXXFLAGS+= ${BUILDLINK_CPPFLAGS} CPPFLAGS+= ${BUILDLINK_CPPFLAGS} LDFLAGS+= ${BUILDLINK_LDFLAGS} + +CONFIGURE_ENV+= BUILDLINK_CPPFLAGS="${BUILDLINK_CPPFLAGS}" +CONFIGURE_ENV+= BUILDLINK_LDFLAGS="${BUILDLINK_LDFLAGS}" +MAKE_ENV+= BUILDLINK_CPPFLAGS="${BUILDLINK_CPPFLAGS}" +MAKE_ENV+= BUILDLINK_LDFLAGS="${BUILDLINK_LDFLAGS}" .endif _BUILDLINK_USE: .USE |