toolchain: disable newlib for x86_64
With new SDK, newlib is supported for x86_64, however in 1.14 this was not available for x86_64, disable newlib here to satisfy filters and keep things as they are now in 1.14. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
726047f041
commit
d708d69f54
|
@ -9,4 +9,8 @@ set(SYSROOT_TARGET i586-${TOOLCHAIN_VENDOR}-elf)
|
|||
|
||||
set(CROSS_COMPILE ${TOOLCHAIN_HOME}/${CROSS_COMPILE_TARGET}/bin/${CROSS_COMPILE_TARGET}-)
|
||||
set(SYSROOT_DIR ${ZEPHYR_SDK_INSTALL_DIR}/sysroots/${SYSROOT_TARGET}/usr)
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
if("${ARCH}" STREQUAL "x86_64")
|
||||
set(TOOLCHAIN_HAS_NEWLIB OFF CACHE BOOL "True if toolchain supports newlib")
|
||||
else()
|
||||
set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue