Strengthen the configure test for working -nostdinc -isystem.
This commit is contained in:
parent
529f58a5d7
commit
ce93814031
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
2012-07-31 Grégoire Sutre <gregoire.sutre@gmail.com>
|
||||||
|
|
||||||
* po/POTFILES.in: Regenerated.
|
* po/POTFILES.in: Regenerated.
|
||||||
|
|
|
@ -717,6 +717,7 @@ AC_CACHE_CHECK([whether -nostdinc -isystem works], [grub_cv_cc_isystem], [
|
||||||
SAVED_CPPFLAGS="$CPPFLAGS"
|
SAVED_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
|
CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
|
||||||
|
#include <stddef.h>
|
||||||
int va_arg_func (int fixed, va_list args);]], [[]])],
|
int va_arg_func (int fixed, va_list args);]], [[]])],
|
||||||
[grub_cv_cc_isystem=yes],
|
[grub_cv_cc_isystem=yes],
|
||||||
[grub_cv_cc_isystem=no])
|
[grub_cv_cc_isystem=no])
|
||||||
|
|
Loading…
Reference in a new issue