From 9622f68581cea9d607bbd641b89350c2420720d5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Feb 2013 15:06:10 +0000 Subject: buildroot: allow specifying libc personality for external toolchains SVN-Revision: 35703 --- toolchain/wrapper/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/wrapper') diff --git a/toolchain/wrapper/Makefile b/toolchain/wrapper/Makefile index 417ed8cd37..3398e407c9 100644 --- a/toolchain/wrapper/Makefile +++ b/toolchain/wrapper/Makefile @@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/toolchain-build.mk define toolchain_util $(strip $(SCRIPT_DIR)/ext-toolchain.sh --toolchain $(CONFIG_TOOLCHAIN_ROOT) \ --cflags $(CONFIG_TARGET_OPTIMIZATION) \ - --cflags "-muclibc $(if $(CONFIG_SOFT_FLOAT),-msoft-float)" \ + --cflags "$(if $(call qstrip,$(CONFIG_TOOLCHAIN_LIBC)),-m$(call qstrip,$(CONFIG_TOOLCHAIN_LIBC))) $(if $(CONFIG_SOFT_FLOAT),-msoft-float)" \ --cflags "$(patsubst ./%,-I$(TOOLCHAIN_ROOT_DIR)/%,$(call qstrip,$(CONFIG_TOOLCHAIN_INC_PATH)))" \ --cflags "$(patsubst ./%,-L$(TOOLCHAIN_ROOT_DIR)/%,$(call qstrip,$(CONFIG_TOOLCHAIN_LIB_PATH)))" \ $(1)) -- cgit v1.2.3