diff options
author | schmonz <schmonz@pkgsrc.org> | 2006-08-02 02:25:46 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2006-08-02 02:25:46 +0000 |
commit | 51cec25da65f36aba1f29dec266568f7c1b3758f (patch) | |
tree | bf566dac960330b2d01211737b7477f56e343bc4 /mk/djbware.mk | |
parent | 1b415efecffd9b4b1dbb53c09e9d29ec4f1b217b (diff) | |
download | pkgsrc-51cec25da65f36aba1f29dec266568f7c1b3758f.tar.gz |
Pass CPPFLAGS in conf-cc and LDFLAGS in conf-ld.
Diffstat (limited to 'mk/djbware.mk')
-rw-r--r-- | mk/djbware.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/djbware.mk b/mk/djbware.mk index d7e0865d81e..aff6e8bb8d5 100644 --- a/mk/djbware.mk +++ b/mk/djbware.mk @@ -1,4 +1,4 @@ -# $NetBSD: djbware.mk,v 1.17 2006/04/29 14:25:37 gdt Exp $ +# $NetBSD: djbware.mk,v 1.18 2006/08/02 02:25:46 schmonz Exp $ # # Makefile fragment for packages with djb-style build machinery # @@ -60,9 +60,9 @@ do-configure: [ -f ${DJB_CONFIG_HOME} ] && \ ${ECHO} ${DJB_CONFIG_PREFIX} > ${DJB_CONFIG_HOME}; \ [ -f conf-cc ] && \ - ${ECHO} ${CC:Q} ${CFLAGS:Q} > conf-cc; \ + ${ECHO} ${CC:Q} ${CFLAGS:Q} ${CPPFLAGS:Q} > conf-cc; \ [ -f conf-ld ] && \ - ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > conf-ld; \ + ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} ${LDFLAGS:Q} > conf-ld;\ [ -f conf-bin ] && \ ${ECHO} ${DJB_CONFIG_PREFIX}/bin > conf-bin; \ [ -f conf-man ] && \ |