Revert: remove -fno-stack-protector from CFLAGS_TARGET

Was not the root cause of the __aeabi_read_tp linker error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 11:48:20 +03:00
parent 39ea36dfc2
commit 13b4127521

2
env.sh
View File

@@ -38,7 +38,7 @@ _env_register() {
# Флаги тулчейна # Флаги тулчейна
CFLAGS_TOOLSET='-O2' CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb -fno-stack-protector' CFLAGS_TARGET='-Os -mthumb'
CXXFLAGS_TARGET=$CFLAGS_TARGET CXXFLAGS_TARGET=$CFLAGS_TARGET
LDFLAGS_TARGET='-Wl,--fdpic' LDFLAGS_TARGET='-Wl,--fdpic'