configure: Fix grep invocation for llvm-mc argument

This commit is contained in:
Alex Crichton 2016-07-25 10:20:05 -07:00 committed by Jan-Erik Rediger
parent a36595ed14
commit d851428cc3

3
configure vendored
View File

@ -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