This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit d2670713983b324da55b5eaec518d4ef73546e8d
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Dec 18 11:07:16 2023 +0800

    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 <[email protected]>
---
 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

Reply via email to