We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c678caa commit b2c908eCopy full SHA for b2c908e
MultiSource/Applications/ClamAV/CMakeLists.txt
@@ -178,4 +178,9 @@ if(TARGET_OS STREQUAL "Linux")
178
find_package(Intl REQUIRED)
179
target_link_libraries(clamscan ${Intl_LIBRARIES})
180
endif()
181
+# zlib fails to build with correctly defined target OS macros.
182
+# (https://github.com/madler/zlib/pull/895)
183
+# Disable the compiler extension to workaround the build failure until a zlib
184
+# source update with the fix.
185
+target_compile_options(clamscan PRIVATE -fno-define-target-os-macros)
186
llvm_test_data(clamscan ${INPUT} dbdir)
0 commit comments