From 9f486d875ffbc8d3da4ff043238ed70ed9709a32 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 2 Nov 2015 09:09:07 +0000 Subject: [PATCH] always enable language selection if omitted, the build will break. the user can override the language selection in config.mak via the GCC_LANG_CONFIG variable. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 9f00a68..9193d7b 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,11 @@ GCC_MULTILIB_CONFIG = --disable-multilib --with-multilib-list= ifeq ($(TARGET),x86_64-x32-linux-musl) GCC_MULTILIB_CONFIG = --with-multilib-list=mx32 endif +GCC_LANG_CONFIG = --enable-languages=c,c++,lto GCC_CONFIG = $(COMMON_CONFIG) --enable-tls \ --disable-libmudflap --disable-libsanitizer \ --disable-libquadmath --disable-decimal-float \ + $(GCC_LANG_CONFIG) \ $(GCC_MULTILIB_CONFIG) GCC0_CONFIG = $(GCC_CONFIG) \