0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

cmake build: allow overriding whether to use llvm-config

Previously, there was an option ZIG_PREFER_LLVM_CONFIG which would
override the default of not using llvm-config when cross compiling.

That option is now removed in favor of the more powerful
ZIG_USE_LLVM_CONFIG which defaults to OFF for cross compiling and ON for
native compilation. The option overrides the default.

This will be used in zig-bootstrap to improve support for native builds.
This commit is contained in:
Andrew Kelley 2021-03-13 14:30:56 -07:00
commit 4e9894cfc4
2 changed files with 7 additions and 2 deletions