|
@@ -0,0 +1,20 @@
+--- aclocal.m4.orig 2008-07-16 12:37:00.000000000 +0200
++++ aclocal.m4 2008-07-16 12:37:38.000000000 +0200
+@@ -194,7 +194,7 @@
+ [AC_REQUIRE([AC_PROG_CC])
+ AC_MSG_CHECKING([if start is defined by the compiler])
+ AC_CACHE_VAL(grub_cv_check_start_symbol,
+-[AC_TRY_LINK([], [asm ("incl start")],
++[AC_TRY_LINK([${LDFLAGS}], [asm ("incl start")],
+ grub_cv_check_start_symbol=yes,
+ grub_cv_check_start_symbol=no)])
+
+@@ -202,7 +202,7 @@
+
+ AC_MSG_CHECKING([if _start is defined by the compiler])
+ AC_CACHE_VAL(grub_cv_check_uscore_start_symbol,
+-[AC_TRY_LINK([], [asm ("incl _start")],
++[AC_TRY_LINK([${LDFLAGS}], [asm ("incl _start")],
+ grub_cv_check_uscore_start_symbol=yes,
+ grub_cv_check_uscore_start_symbol=no)])
+
|