Strengthen the test for working -nostdinc -isystem
PATCH 1/1 Strengthen the test for working -nostdinc -isystem
This prevents configure from believing that -nostdinc -isystem works in some cases where it doesn't (NetBSD with non-native gcc 4.4).
The patch simply adds the requirement that #include <stddef.h> works with -nostdinc -isystem.
Grégoire
configure.ac renamed from configure.ac.orig +1 -0
@@ -717,6 +717,7 @@ AC_CACHE_CHECK([whether -nostdinc -isyst 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])
Quoted 7 lines · Grégoire Sutre
This prevents configure from believing that -nostdinc -isystem works in some cases where it doesn't (NetBSD with non-native gcc 4.4).
The patch simply adds the requirement that #include <
stddef.h> works with -nostdinc -isystem.
Go ahead.
Quoted 7 lines
Grégoire
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 11 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 7 lines · Grégoire Sutre
This prevents configure from believing that -nostdinc -isystem works in some cases where it doesn't (NetBSD with non-native gcc 4.4).
The patch simply adds the requirement that #include<stddef.h> works with -nostdinc -isystem.
Go ahead.
Done. Thanks,
Grégoire