File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if (LLAMA_BUILD_BORINGSSL)
8181 target_link_libraries (${TARGET} PUBLIC ssl crypto )
8282
8383elseif (LLAMA_BUILD_LIBRESSL)
84- set (LIBRESSL_VERSION "4.2 .1" CACHE STRING "LibreSSL version" )
84+ set (LIBRESSL_VERSION "4.3 .1" CACHE STRING "LibreSSL version" )
8585
8686 message (STATUS "Fetching LibreSSL version ${LIBRESSL_VERSION} " )
8787
@@ -161,12 +161,24 @@ if(LLAMA_BUILD_BORINGSSL OR LLAMA_BUILD_LIBRESSL)
161161 if (LLAMA_BUILD_BORINGSSL)
162162 target_compile_options (fipsmodule PRIVATE /w )
163163 endif ()
164+ if (LLAMA_BUILD_LIBRESSL)
165+ target_compile_options (ssl_obj PRIVATE /w )
166+ target_compile_options (bs_obj PRIVATE /w )
167+ target_compile_options (compat_obj PRIVATE /w )
168+ target_compile_options (crypto_obj PRIVATE /w )
169+ endif ()
164170 else ()
165171 target_compile_options (ssl PRIVATE -w )
166172 target_compile_options (crypto PRIVATE -w )
167173 if (LLAMA_BUILD_BORINGSSL)
168174 target_compile_options (fipsmodule PRIVATE -w )
169175 endif ()
176+ if (LLAMA_BUILD_LIBRESSL)
177+ target_compile_options (ssl_obj PRIVATE -w )
178+ target_compile_options (bs_obj PRIVATE -w )
179+ target_compile_options (compat_obj PRIVATE -w )
180+ target_compile_options (crypto_obj PRIVATE -w )
181+ endif ()
170182 endif ()
171183endif ()
172184
You can’t perform that action at this time.
0 commit comments