From eb527f3bd2efb0bcbd072d2edcca0de184b03c72 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 20 Aug 2023 11:15:57 +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/citest/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/sim/sim/sim/configs/citest/defconfig b/boards/sim/sim/sim/configs/citest/defconfig index c2c76d934f..ef5d4d996f 100644 --- a/boards/sim/sim/sim/configs/citest/defconfig +++ b/boards/sim/sim/sim/configs/citest/defconfig @@ -13,6 +13,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