Merge pull request #1516 from ic/master

Fix wrong environment test that breaks clang++ builds.
This commit is contained in:
zdenop 2018-04-23 13:07:43 +02:00 committed by GitHub
commit acbd333ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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