提交 d851428c 编写于 作者: A Alex Crichton 提交者: Jan-Erik Rediger

configure: Fix grep invocation for llvm-mc argument

上级 a36595ed
...@@ -1021,7 +1021,8 @@ then ...@@ -1021,7 +1021,8 @@ then
;; ;;
esac 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 CFG_LLVM_MC_HAS_RELOCATION_MODEL=1
putvar CFG_LLVM_MC_HAS_RELOCATION_MODEL putvar CFG_LLVM_MC_HAS_RELOCATION_MODEL
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册