mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
Fix build with Apple's toolchain. Part 2 * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and a fake start
This commit is contained in:
1 parent
26de2bcdf2
commit
26586d9875
2 files changed
+11
-1
No files matched your search
@@ -1,3 +1,10 @@
|
||||
2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Fix build with Apple's toolchain. Part 2
|
||||
|
||||
* aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and
|
||||
a fake start
|
||||
|
||||
2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Fix build with Apple's toolchain. Part 1
|
||||
|
||||
Vendored
+4
-1
@@ -2,7 +2,10 @@ dnl Check whether target compiler is working
|
||||
AC_DEFUN(grub_PROG_TARGET_CC,
|
||||
[AC_MSG_CHECKING([whether target compiler is working])
|
||||
AC_CACHE_VAL(grub_cv_prog_target_cc,
|
||||
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
||||
asm (".globl start; start: nop");
|
||||
int main (void);
|
||||
]], [[]])],
|
||||
[grub_cv_prog_target_cc=yes],
|
||||
[grub_cv_prog_target_cc=no])
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user