my clang doesn't grok -isystemPATH only -isystem PATH
Change-Id: I08a961fa7c9e1983239b9c2606d47824bc535d3b
This commit is contained in:
parent
8c717ff5d7
commit
069ab2135d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue