Skip to content

Commit bbf60ec

Browse files
cuiziweizwxiaoxiang781216
authored andcommitted
gnu++20:fix ld error.
LD: nuttx arm-none-eabi-ld: warning: net_sendfile.o: missing .note.GNU-stack section implies executable stack arm-none-eabi-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker arm-none-eabi-ld: warning: nuttx/nuttx has a LOAD segment with RWX permissions arm-none-eabi-ld: apps/staging/libfeature.a(feature_framework.cpp.frameworks.base.feature_1.o): in function `std::__1::__throw_length_error[abi:un170006](char const*)': Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
1 parent 68e25dc commit bbf60ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/libxx/__config_site

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
#define _LIBCPP_ENABLE_HARDENED_MODE_DEFAULT 0
3939
#define _LIBCPP_ENABLE_DEBUG_MODE_DEFAULT 0
4040

41+
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS 1
42+
#define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT 1
43+
4144
// __USE_MINGW_ANSI_STDIO gets redefined on MinGW
4245
#ifdef __clang__
4346
# pragma clang diagnostic push

0 commit comments

Comments
 (0)