pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Use BUILD_ENV instead of just {CONFIGURE,M...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf137d4da207
branches: trunk
changeset: 469273:cf137d4da207
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Feb 21 12:31:38 2004 +0000
description:
Use BUILD_ENV instead of just {CONFIGURE,MAKE}_ENV to pass CCACHE_HASHCC
to ccache. This now correctly passes CCACHE_HASHCC to ccache if the
package has a custom do-build target that invokes ${CC} directly.
diffstat:
mk/compiler/ccache.mk | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 63cb95cacb01 -r cf137d4da207 mk/compiler/ccache.mk
--- a/mk/compiler/ccache.mk Sat Feb 21 12:29:23 2004 +0000
+++ b/mk/compiler/ccache.mk Sat Feb 21 12:31:38 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ccache.mk,v 1.15 2004/02/18 13:32:38 jlam Exp $
+# $NetBSD: ccache.mk,v 1.16 2004/02/21 12:31:38 jlam Exp $
.if !defined(COMPILER_CCACHE_MK)
COMPILER_CCACHE_MK= defined
@@ -64,8 +64,7 @@
# Override the compiler-specific hash with the version string for the
# compiler.
#
-CONFIGURE_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
-MAKE_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
+BUILD_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
# Create symlinks for the compiler into ${WRKDIR}.
. if exists(${_CCACHEBASE}/bin/ccache)
Home |
Main Index |
Thread Index |
Old Index