File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,13 +156,9 @@ if(LLAMA_BUILD_BORINGSSL AND LLAMA_FATAL_WARNINGS)
156156 message (STATUS "Target options: ${target_options} " )
157157 set_target_properties (fipsmodule PROPERTIES COMPILE_OPTIONS "${target_options} " )
158158 else ()
159+ target_compile_options (fipsmodule PRIVATE -w )
159160 get_target_property (target_options fipsmodule COMPILE_OPTIONS )
160- get_target_property (interface_options fipsmodule INTERFACE_COMPILE_OPTIONS )
161- list (REMOVE_ITEM target_options $<$<COMPILE_LANGUAGE :C ,CXX >:-Werror >)
162161 message (STATUS "Target options: ${target_options} " )
163- message (STATUS "Interface options: ${interface_options} " )
164- set_target_properties (fipsmodule PROPERTIES COMPILE_OPTIONS "${target_options} " )
165- set_target_properties (fipsmodule PROPERTIES INTERFACE_COMPILE_OPTIONS "${target_options} " )
166162 endif ()
167163endif ()
168164
You can’t perform that action at this time.
0 commit comments