Skip to content

Commit 10ea2dd

Browse files
committed
Ensure LLVM_ENABLE_ZLIB is always enabled
Set LLVM_ENABLE_ZLIB=FORCE_ON in order to cause the build to error if zlib is not found.
1 parent d28725b commit 10ea2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ popd
974974
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \\\
975975
-DLLVM_ENABLE_PROJECTS="%{projects}" \\\
976976
-DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \\\
977-
-DLLVM_ENABLE_ZLIB:BOOL=ON \\\
977+
-DLLVM_ENABLE_ZLIB:BOOL=FORCE_ON \\\
978978
-DLLVM_ENABLE_ZSTD:BOOL=FORCE_ON \\\
979979
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \\\
980980
-DLLVM_INCLUDE_BENCHMARKS=OFF \\\

0 commit comments

Comments
 (0)