my clang doesn't grok -isystemPATH only -isystem PATH

Change-Id: I08a961fa7c9e1983239b9c2606d47824bc535d3b
This commit is contained in:
Caolán McNamara 2014-06-25 12:47:31 +01:00
parent 8c717ff5d7
commit 069ab2135d

View file

@ -3530,7 +3530,7 @@ if test "$GCC" = "yes"; then
AC_MSG_CHECKING( for -isystem )
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ ISYSTEM=-isystem ],[])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ ISYSTEM="-isystem " ],[])
CFLAGS=$save_CFLAGS
if test -n "$ISYSTEM"; then
AC_MSG_RESULT(yes)