From 83764079a17fecd92be92d874f339f06f612a3a2 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 25 Jan 2023 03:18:25 +0800 Subject: [PATCH] boards/sim: Enable CONFIG_ARCH_MATH_H for libcxxtest to undefine __GLIBC__, otherwise libcxx misthink it work with glibc Signed-off-by: Xiang Xiao --- boards/sim/sim/sim/configs/libcxxtest/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/sim/sim/sim/configs/libcxxtest/defconfig b/boards/sim/sim/sim/configs/libcxxtest/defconfig index f21baaa250..decb4433bd 100644 --- a/boards/sim/sim/sim/configs/libcxxtest/defconfig +++ b/boards/sim/sim/sim/configs/libcxxtest/defconfig @@ -10,6 +10,7 @@ CONFIG_ARCH="sim" CONFIG_ARCH_BOARD="sim" CONFIG_ARCH_BOARD_SIM=y CONFIG_ARCH_CHIP="sim" +CONFIG_ARCH_MATH_H=y CONFIG_ARCH_SIM=y CONFIG_BOARDCTL_APP_SYMTAB=y CONFIG_BOARDCTL_POWEROFF=y