未验证 提交 acbd333c 编写于 作者: Z zdenop 提交者: GitHub

Merge pull request #1516 from ic/master

Fix wrong environment test that breaks clang++ builds.
......@@ -135,8 +135,8 @@ fi
if $avx -o $avx2 -o $sse41; then
case "${host_os}" in
*darwin* | *-macos10*)
if test -z "$CLANG"; then
# When using AVX, AVX2, or SSE4.1:
if test g++ = "$CXX"; then
# When using AVX, AVX2, or SSE4.1 with g++:
# Must tell AS to use clang integrated assembler,
# instead of the GNU based system assembler.
CXXFLAGS="$CXXFLAGS -Wa,-q"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册