Re: [klee@mit.edu: Bug#10795: makefiles for nethack are i386-specific]
Paul Haggart <phaggart@debian.org> writes:
> Okay, what's the recommended solution for this .. other than porting
> nethack over to use libc6 (which can't be done at the moment because
> of the lack of a libc6 xpm library). How does one detect the
> architecture of the machine being used?
Cut and pasted from bash_2.01-0's debian/rules, but enough to get the
idea? :-
ARCH = $(shell dpkg --print-gnu-build-architecture)
make [ ... ] CC=$(ARCH)-linuxlibc1-gcc [ ... ]
--
James
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: