void-packages/srcpkgs/stlink/patches/03-dont-link-ssp-as-static....

12 lines
254 B
Diff

--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -71,7 +71,7 @@
CHECK_LIBRARY_EXISTS(ssp __stack_chk_fail "" _stack_chk_fail_exists)
if (_stack_chk_fail_exists)
- set(SSP_LIB -static ssp)
+ set(SSP_LIB ssp)
else ()
set(SSP_LIB "")
endif ()