Changes of Revision 11
[-] | Changed | grub2.spec |
x 1
2 License: GPL 3 URL: http://www.gnu.org/software/%{name}/ 4 Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz 5 - 6 +Patch0: grub-aclocal-ldflags.patch 7 ExclusiveArch: i386 i486 i586 i686 x86_64 8 BuildRequires: binutils >= 2.9.1.0.23, ncurses-devel, texinfo 9 BuildRequires: automake glibc-devel lzo-devel 10
11 12 %prep 13 %setup -q 14 +%patch0 15 16 %build 17 autoreconf --install --force 18 |
||
[+] | Added | grub-aclocal-ldflags.patch ^ |
@@ -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)]) + |