summaryrefslogtreecommitdiff
path: root/mk/compiler.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-05-08 15:09:31 +0000
committergrant <grant@pkgsrc.org>2004-05-08 15:09:31 +0000
commitfd58cdf03c07575494fb385abeeddb01d6653038 (patch)
tree966b42d86b224fde939caa593b89053bcf7eafc5 /mk/compiler.mk
parent7b64533029af9d4133be6aabd585a1c12b87b02d (diff)
downloadpkgsrc-fd58cdf03c07575494fb385abeeddb01d6653038.tar.gz
_PKGSRC_COMPILER needs to contain the real compiler first, then
pseudo-compilers such as ccache and distcc. fixes problem where lang/gcc{,3} would be incorrectly pulled in when it should not be.
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r--mk/compiler.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index 5e6765e7b19..4c42ba0f016 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.28 2004/05/08 06:03:26 grant Exp $
+# $NetBSD: compiler.mk,v 1.29 2004/05/08 15:09:31 grant Exp $
#
# This Makefile fragment implements handling for supported C/C++/Fortran
# compilers.
@@ -138,7 +138,7 @@ _PKGSRC_COMPILER:= ${_COMPILER}
.for _compiler_ in ${_PSEUDO_COMPILERS}
. if !empty(PKGSRC_COMPILER:M${_compiler_})
-_PKGSRC_COMPILER:= ${_compiler_} ${_PKGSRC_COMPILER}
+_PKGSRC_COMPILER:= ${_PKGSRC_COMPILER} ${_compiler_}
. endif
.endfor