diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-25 12:47:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:11 +0100 |
commit | 069ab2135d00f94ad098883561a7b7d895997937 (patch) | |
tree | 0840ed818e91c69bcdaeac7dc9c1fe5503654d16 /configure.ac | |
parent | 8c717ff5d7eb105380f88533edd244ea2e807499 (diff) |
my clang doesn't grok -isystemPATH only -isystem PATH
Change-Id: I08a961fa7c9e1983239b9c2606d47824bc535d3b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 434972b51fe3..3f4320818975 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |