summaryrefslogtreecommitdiff
path: root/mk/compiler/gcc.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-09 00:37:32 +0000
committerjlam <jlam@pkgsrc.org>2004-02-09 00:37:32 +0000
commit4f670fec34b20fd949d57fb4d3cf5c508e328588 (patch)
treecd2ceaad34673ba4152513119aa04db04619476f /mk/compiler/gcc.mk
parenta01da1b0368281fa428f3dbf14a9b8e2d0cf30af (diff)
downloadpkgsrc-4f670fec34b20fd949d57fb4d3cf5c508e328588.tar.gz
Use TOOLS_SHELL since we're creating the shell script at override-tools
time.
Diffstat (limited to 'mk/compiler/gcc.mk')
-rw-r--r--mk/compiler/gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 3e09ca3131d..035d78f5ff5 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.47 2004/02/08 03:34:20 jlam Exp $
+# $NetBSD: gcc.mk,v 1.48 2004/02/09 00:37:32 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= one
@@ -344,7 +344,7 @@ override-tools: ${${_target_}}
${${_target_}}:
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H}
${_PKG_SILENT}${_PKG_DEBUG} \
- (${ECHO} '#!${BUILDLINK_SHELL}'; \
+ (${ECHO} '#!${TOOLS_SHELL}'; \
${ECHO} 'exec ${_GCCBINDIR}/${${_target_}:T} "$$@"'; \
) > ${.TARGET}
${_PKG_SILENT}${_PKG_DEBUG}${CHMOD} +x ${.TARGET}