Kaydet (Commit) 069ab213 authored tarafından Caolán McNamara's avatar Caolán McNamara

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

Change-Id: I08a961fa7c9e1983239b9c2606d47824bc535d3b
üst 8c717ff5
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment