From 1c0bee6188553ef0475367da1fa8d518b3a5bc24 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 6 Sep 2017 19:09:03 +0200 Subject: frosted: finetune, remove menuconfig warnings --- toolchain/gcc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 1cb0d2540..095e6649a 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -51,10 +51,6 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ --disable-werror \ --disable-nls -ifeq ($(ADK_TARGET_LIB_NEWLIB),y) -GCC_FINAL_CONFOPTS:= --with-newlib -endif - ifeq ($(ADK_TARGET_WITH_NPTL),y) GCC_FINAL_CONFOPTS:= --enable-tls --enable-threads --enable-libatomic GCC_TLS_CONFOPTS:= --enable-tls @@ -68,7 +64,11 @@ GCC_FINAL_CONFOPTS:= --disable-tls --disable-threads --disable-libatomic GCC_TLS_CONFOPTS:= --disable-tls endif -ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) +ifeq ($(ADK_TARGET_LIB_NEWLIB),y) +GCC_FINAL_CONFOPTS+= --with-newlib +endif + +ifeq ($(ADK_TARGET_OS_FROSTED)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) GCC_FINAL_CONFOPTS+= --disable-shared else GCC_FINAL_CONFOPTS+= --enable-shared --enable-cxx-flags='-fPIC' -- cgit v1.2.3