VxWorks: Skip fstack-protector-strong

We do not know yet why it fails exactly to link, and what a proper fix
would be. For now, unconditionally disable it so that we can get
submodule updates in again.

Task-number: QTBUG-123715
Change-Id: I832cc8801c7fcb4b0a755aa4ff0bc65d15bf8230
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Fabian Kosmale 2024-03-25 11:36:09 +01:00
parent 7e8196510d
commit def07f6306

View File

@ -420,9 +420,12 @@ alloca(1);
") ")
# stack_protector # stack_protector
if(NOT WASM) if(NOT WASM AND NOT VXWORKS)
# emcc doesn't support this, but the detection accidentally succeeds # emcc doesn't support this, but the detection accidentally succeeds
# https://github.com/emscripten-core/emscripten/issues/17030 # https://github.com/emscripten-core/emscripten/issues/17030
# VXWORKS: We currently don't know the correct linker options. This is
# tracked at QTBUG-123715
qt_config_compiler_supports_flag_test(stack_protector qt_config_compiler_supports_flag_test(stack_protector
LABEL "stack protection" LABEL "stack protection"
FLAG "-fstack-protector-strong" FLAG "-fstack-protector-strong"