summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2014-03-20 22:35:36 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-03-21 09:47:05 (GMT)
commit0610a64cec6febbcb7162abcdc41c7a6ecfea818 (patch)
treed0e223ab8edf951434c26b1a2d4ccad82896ec46
parentaac1fed7b974694e23dfbb105ab1ea2fd049d09c (diff)
downloadbuildroot-0610a64cec6febbcb7162abcdc41c7a6ecfea818.tar.gz
buildroot-0610a64cec6febbcb7162abcdc41c7a6ecfea818.tar.bz2
gcc: fix snapshot compile
Add gcc snapshot versions dependency on host-flex and host-bison (done as suggested by Thomas Petazzoni [1]). Fixes gcc snapshot version 4.9-20140309 compile failure [2]. Tested the following buildroot configs BR2_arm=y BR2_cortex_a9=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_BINUTILS_VERSION_2_24=y BR2_GCC_VERSION_SNAP=y BR2_GCC_SNAP_DATE="4.9-20140309" and BR2_arcle=y For the ARC case disabled the BINUTILS_FROM_GIT host-flex and host-bison dependency. [1] http://lists.busybox.net/pipermail/buildroot/2014-March/092490.html [2] http://lists.busybox.net/pipermail/buildroot/2014-March/092459.html [Peter: simplify logic] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gcc/gcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 236297d..dff6dce 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -151,7 +151,7 @@ HOST_GCC_COMMON_DEPENDENCIES += host-mpc
HOST_GCC_COMMON_CONF_OPT += --with-mpc=$(HOST_DIR)/usr
endif
-ifeq ($(BR2_arc),y)
+ifneq ($(BR2_arc)$(BR2_GCC_VERSION_SNAP),)
HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
endif