diff --git a/configure b/configure index af29ef3d39c2e4908ec5e82e4d3fe25a692a7100..3e2cbcbe3644253d10d3698e28c3e12932593191 100755 --- a/configure +++ b/configure @@ -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