gcc: fix snapshot compile
PATCH 1/1 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
--- package/gcc/gcc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gcc/gcc.mk +1 -1
@@ -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 ($(or $(BR2_arc),$(BR2_GCC_VERSION_SNAP)),) HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison endif
Signature · 1 line
1.8.1.4
PATCH 1/1 gcc: fix snapshot compile
Quoted 36 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
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_GIThost-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.htmlSigned-off-by Peter Seiderer <[email protected]>--- package/gcc/gcc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/gcc/gcc.mk +0
-0
package/gcc/gcc.mk HOST_GCC_COMMON_DEPENDENCIES += host-mpc · line 154
Quoted 5 lines
package/gcc/gcc.mk +1
-1@@ -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 ($(or $(BR2_arc),$(BR2_GCC_VERSION_SNAP)),)
'or' is not needed as the symbols expand to nothing or 'y', so you can just do:
ifneq ($(foo)$(bar)$(blih)$(blah),)
..
Committed with that changed, thanks.
Signature · 1 line
Bye, Peter Korsgaard