mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-04 17:12:51 +02:00
Certain testing components require building with a specific subset of LDFLAGS, such as `-O1`. This patch moves them to the default cmake invokation of `cmake .` which is the equivalent of `cmake -D CMAKE_BUILD_TYPE:String=None .` Also remove flags such as `-Werror` which are present in all configs. Improve compilation flag granularity by disabling CMAKE_BUILD_TYPE defaults and asserting test-specific flags manually. Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>