diff options
| author | Kjetil Kjeka <kjetil@muybridge.com> | 2024-02-06 20:09:55 +0100 |
|---|---|---|
| committer | Kjetil Kjeka <kjetil@muybridge.com> | 2024-03-11 13:35:55 +0100 |
| commit | 6a50d059a594f35d70af30a33a4b395616663f68 (patch) | |
| tree | e800b442237860cd1caf2d751a48db26fff2e486 /src/bootstrap/configure.py | |
| parent | 43f2055af5a0897876f25b6bdfa821dea8d5e4aa (diff) | |
| download | rust-6a50d059a594f35d70af30a33a4b395616663f68.tar.gz rust-6a50d059a594f35d70af30a33a4b395616663f68.zip | |
Bootstrap: Add argument for building llvm bitcode linker
Diffstat (limited to 'src/bootstrap/configure.py')
| -rwxr-xr-x | src/bootstrap/configure.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index 4257c0f7991..9c43160d455 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -54,6 +54,7 @@ o("cargo-native-static", "build.cargo-native-static", "static native libraries i o("profiler", "build.profiler", "build the profiler runtime") o("full-tools", None, "enable all tools") o("lld", "rust.lld", "build lld") +o("llvm-bitcode-linker", "rust.llvm-bitcode-linker", "build llvm bitcode linker") o("clang", "llvm.clang", "build clang") o("use-libcxx", "llvm.use-libcxx", "build LLVM with libc++") o("control-flow-guard", "rust.control-flow-guard", "Enable Control Flow Guard") @@ -366,6 +367,7 @@ def apply_args(known_args, option_checking, config): set('rust.codegen-backends', ['llvm'], config) set('rust.lld', True, config) set('rust.llvm-tools', True, config) + set('rust.llvm-bitcode-linker', True, config) set('build.extended', True, config) elif option.name in ['option-checking', 'verbose-configure']: # this was handled above |
