pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Pass the PATH when executing ${CC} so that the comp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c60e4e6485f
branches: trunk
changeset: 467689:9c60e4e6485f
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Feb 05 07:37:48 2004 +0000
description:
Pass the PATH when executing ${CC} so that the compiler may be found when
CC is something like ccache or distcc that relies on finding the true
compiler in the PATH.
diffstat:
mk/bsd.pkg.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 8cc40e5243dc -r 9c60e4e6485f mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Thu Feb 05 07:19:34 2004 +0000
+++ b/mk/bsd.pkg.mk Thu Feb 05 07:37:48 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1371 2004/02/05 05:05:54 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1372 2004/02/05 07:37:48 jlam Exp $
#
# This file is in the public domain.
#
@@ -3005,6 +3005,7 @@
sotype=none; \
if [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then \
${ECHO} "int main() { return(0); }" > a.$$$$.c; \
+ ${SETENV} PATH=${PATH} \
${CC} ${CFLAGS} a.$$$$.c -o a.$$$$.out; \
case `${FILE_CMD} a.$$$$.out` in \
*ELF*dynamically*) \
Home |
Main Index |
Thread Index |
Old Index