From 2d0015f547b1846eeab1359f5e8ce493d2be50f9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 2 May 2016 18:43:15 +0000 Subject: [PATCH] remove spurious flex dependency nothing in a normal gcc/binutils actually uses flex and bison, but this useless test for the output filename lex produces breaks the build unless [f]lex is installed. the result of this check is specified by posix anyway, so hard-code the specified result. --- litecross/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/litecross/Makefile b/litecross/Makefile index 0b5fcac..19b3017 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -16,6 +16,7 @@ MUSL_CONFIG = CC="$(XGCC)" LIBCC="../obj_toolchain/$(TARGET)/libgcc/libgcc.a" -- -include config.mak MAKE += INFO_DEPS= +MAKE += ac_cv_prog_lex_root=lex.yy.c FULL_TOOLCHAIN_CONFIG = $(TOOLCHAIN_CONFIG) \ --disable-werror \