From d2670713983b324da55b5eaec518d4ef73546e8d Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 18 Dec 2023 11:07:16 +0800 Subject: [PATCH] stm32f4discovery/cxxtest: Fix gcc13.2 compiler error arm-none-eabi-ld: /tools/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m/nofp/libsupc++.a(eh_alloc.o): in function `_GLOBAL__sub_I__ZN9__gnu_cxx9__freeresEv': eh_alloc.cc:(.text.startup._GLOBAL__sub_I__ZN9__gnu_cxx9__freeresEv+0x12): undefined reference to `getenv' Signed-off-by: Xiang Xiao --- boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig index 7ff72a672f..3f574c4418 100644 --- a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig +++ b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig @@ -14,7 +14,6 @@ CONFIG_ARCH_CHIP_STM32=y CONFIG_ARCH_CHIP_STM32F407VG=y CONFIG_ARCH_STACKDUMP=y CONFIG_BOARD_LOOPSPERMSEC=16717 -CONFIG_DISABLE_ENVIRON=y CONFIG_DISABLE_MOUNTPOINT=y CONFIG_HAVE_CXX=y CONFIG_HOST_WINDOWS=y