summaryrefslogtreecommitdiffstats
path: root/toolchain/dependencies/dependencies.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 10:06:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 10:06:48 +0000
commit784e010f2da834b6748e5521e2948880c0cff27e (patch)
tree38cc3d443d8ed570a86eefb3b3f382c7fd86adc5 /toolchain/dependencies/dependencies.mk
parent085f7b3ed98d8bb7ae3efaf849e0c5a6d1d1b2f4 (diff)
downloadbuildroot-novena-784e010f2da834b6748e5521e2948880c0cff27e.tar.gz
buildroot-novena-784e010f2da834b6748e5521e2948880c0cff27e.zip
- fix parsing the gcc version. Also look at the HOSTCC's version rather than a random gcc that may be installed.
Closes #961 and #1097
Diffstat (limited to 'toolchain/dependencies/dependencies.mk')
-rw-r--r--toolchain/dependencies/dependencies.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/dependencies/dependencies.mk b/toolchain/dependencies/dependencies.mk
index 7febc1354..b814edad5 100644
--- a/toolchain/dependencies/dependencies.mk
+++ b/toolchain/dependencies/dependencies.mk
@@ -6,7 +6,7 @@
######################################################################
dependencies: host-sed
- @$(TOPDIR)/toolchain/dependencies/dependencies.sh
+ @HOSTCC="$(firstword $(HOSTCC))" $(TOPDIR)/toolchain/dependencies/dependencies.sh
dependencies-source: