SPECS: grub2.spec - attempt to make it work (in future) on amd64
Jakub Bogusz
qboosh w pld-linux.org
Nie, 27 Mar 2005, 23:03:06 CEST
On Sun, Mar 27, 2005 at 10:19:53PM +0200, sparky wrote:
> Author: sparky Date: Sun Mar 27 20:19:53 2005 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - attempt to make it work (in future) on amd64
> @@ -29,6 +30,13 @@
> %define _sbindir /sbin
> %define _bindir %{_sbindir}
> %define _libdir /boot
> +%ifarch amd64
> +%define amd64
> +%define _host i386-pld-linux-gnu
> +%define _build i386-pld-linux-gnu
> +%define _target i386-pld-linux-gnu
> +%endif
> +
>
> %description
> GRUB is a GPLed bootloader intended to unify bootloading across x86
> @@ -91,8 +99,12 @@
> #done
> CFLAGS="-Os %{?debug:-g}" ; export CFLAGS
> %configure \
> - BUILD_CC="%{__cc} -I%{_includedir}/ncurses" \
> + BUILD_CC="%{__cc} %{?amd64:-m32} -I%{_includedir}/ncurses" \
> +%ifarch amd64
> + LD="%{__ld} -melf_i386" \
> +%endif
I czym to ma się różnić od pakietu .i386?
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
Więcej informacji o liście dyskusyjnej pld-devel-pl