Strengthen the configure test for working -nostdinc -isystem.

This commit is contained in:
Grégoire Sutre committed 2012-08-05 16:49:03 +02:00
1 parent 529f58a5d7
commit ce93814031
2 files changed
+5

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
2012-08-05 Grégoire Sutre <gregoire.sutre@gmail.com>
* configure.ac: Strengthen the test for working -nostdinc -isystem.
2012-07-31 Grégoire Sutre <gregoire.sutre@gmail.com>
* po/POTFILES.in: Regenerated.
+1
View File
@@ -717,6 +717,7 @@ AC_CACHE_CHECK([whether -nostdinc -isystem works], [grub_cv_cc_isystem], [
SAVED_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
#include <stddef.h>
int va_arg_func (int fixed, va_list args);]], [[]])],
[grub_cv_cc_isystem=yes],
[grub_cv_cc_isystem=no])