File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -649,7 +649,8 @@ macro(nf_setup_target_build_common)
649
649
650
650
# need to unset several flags for MbedTLS to compile correctly
651
651
target_compile_options (mbedtls PRIVATE -Wno-undef -Wno-error=unused-function -Wno-error=discarded-qualifiers -Wno-error=unused-parameter)
652
- target_compile_options (mbedcrypto PRIVATE -Wno-undef -Wno-error=unused-function -Wno-error=discarded-qualifiers -Wno-error=unused-parameter)
652
+ # -fomit-frame-pointer Can be removed when the issue is resolved: https://github.com/Mbed-TLS/mbedtls/issues/9875
653
+ target_compile_options (mbedcrypto PRIVATE -fomit-frame-pointer -Wno-undef -Wno-error=unused-function -Wno-error=discarded-qualifiers -Wno-error=unused-parameter)
653
654
target_compile_options (mbedx509 PRIVATE -Wno-undef -Wno-error=unused-function -Wno-error=discarded-qualifiers -Wno-error=unused-parameter)
654
655
655
656
endif ()
You can’t perform that action at this time.
0 commit comments