ports/security/openiked-portable/files/patch-ikectl_CMakeLists.txt
Philippe Audeoud 690865317c security/openiked-portable: update to 7.4
PR:	 	286071
Reported by:	Herbert J. Skuhra <herbert _AT_ gojira.at>
Approved by:	maintainer
2025-04-18 11:24:15 +02:00

13 lines
366 B
Text

--- ikectl/CMakeLists.txt.orig 2025-04-09 19:47:21 UTC
+++ ikectl/CMakeLists.txt
@@ -42,7 +42,9 @@ list(APPEND CFLAGS
-Wsign-compare
"$<$<CONFIG:DEBUG>:-O0;-g>"
)
-
+if(DEFINED CADIR)
+ add_definitions( -DCADIR="${CADIR}" )
+endif()
target_compile_options(ikectl PRIVATE ${CFLAGS})
if(HAVE_LD_Z)
target_link_options(ikectl PRIVATE "LINKER:-z,relro,-z,now")