void-packages/srcpkgs/stlink/patches/03-dont-link-ssp-as-static.patch
2020-06-08 11:29:39 +02:00

11 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 ()