Skip to content

Commit

Permalink
Backport upstream fixes for latest Clang.
Browse files Browse the repository at this point in the history
This is required to compile on recent OS Xen.
  • Loading branch information
metajack committed Apr 1, 2013
1 parent 6fc47a3 commit 55d0a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/build/autoconf/toolchain.m4
Expand Up @@ -48,13 +48,13 @@ fi
CLANG_CC=
CLANG_CXX=
if test "$GCC" = yes; then
if test "`$CC -v 2>&1 | grep -c 'clang version'`" != "0"; then
if test "`$CC -v 2>&1 | grep -c 'clang version\|Apple.*clang'`" != "0"; then
CLANG_CC=1
fi
fi
if test "$GXX" = yes; then
if test "`$CXX -v 2>&1 | grep -c 'clang version'`" != "0"; then
if test "`$CXX -v 2>&1 | grep -c 'clang version\|Apple.*clang'`" != "0"; then
CLANG_CXX=1
fi
fi
Expand Down

0 comments on commit 55d0a0b

Please sign in to comment.