mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
configure: Fix grep invocation for llvm-mc argument
This commit is contained in:
parent
a36595ed14
commit
d851428cc3
3
configure
vendored
3
configure
vendored
@ -1021,7 +1021,8 @@ then
|
||||
;;
|
||||
esac
|
||||
|
||||
if "$CFG_LLVM_ROOT/bin/llvm-mc" -help | grep "-relocation-model"; then
|
||||
if "$CFG_LLVM_ROOT/bin/llvm-mc" -help | grep -- "-relocation-model"; then
|
||||
msg "found older llvm-mc"
|
||||
CFG_LLVM_MC_HAS_RELOCATION_MODEL=1
|
||||
putvar CFG_LLVM_MC_HAS_RELOCATION_MODEL
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user