Skip to content

Commit

Permalink
configure: Fix grep invocation for llvm-mc argument
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton authored and badboy committed Jul 29, 2016
1 parent a36595e commit d851428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Expand Up @@ -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
Expand Down

0 comments on commit d851428

Please sign in to comment.