diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 6654b51674..157357cd78 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -86,7 +86,8 @@ endef HOST_GCC_COMMON_DEPENDENCIES = \ host-binutils \ host-gmp \ - host-mpfr + host-mpfr \ + $(if $(BR2_BINFMT_FLAT),host-elf2flt) HOST_GCC_COMMON_CONF_OPT = \ --target=$(GNU_TARGET_NAME) \