From: Waldemar Brodkorb Date: Sat, 28 Jan 2017 09:19:28 +0000 (+0100) Subject: gcc: fix build on or1k without flex/bison on host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bc66d3e1c75da20e6346d85e4549ec9db93c8e2;p=buildroot.git gcc: fix build on or1k without flex/bison on host Similar to arc architecture this is required. Reported-by: Thomas Petazzoni Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index afe7c09475..241f3575c0 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -183,7 +183,7 @@ else HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog endif -ifeq ($(BR2_arc),y) +ifeq ($(BR2_arc)$(BR2_or1k),y) HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison endif