From 526c69a335537a37f48d187878845bebf5dcd2ee Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Wed, 11 Nov 2009 16:36:17 +0100 Subject: Toolchain: gcc: avoid likely build error when libm disabled and c++ support added Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/gcc.kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kconfig') diff --git a/kconfig/gcc.kconfig b/kconfig/gcc.kconfig index bd7fe33..24b18bb 100644 --- a/kconfig/gcc.kconfig +++ b/kconfig/gcc.kconfig @@ -64,6 +64,8 @@ config EMBTK_GCC_MORE_LANGUAGES config EMBTK_GCC_LANGUAGE_CPP bool "Support C++" depends on EMBTK_GCC_MORE_LANGUAGES + select KEMBTK_UCLIBC_UCLIBC_HAS_FLOATS if EMBTK_CLIB_UCLIBC + select OPTION_EGLIBC_LIBM if EMBTK_CLIB_EGLIBC help Your toolchain will be able to build C++ source code -- cgit v1.2.3