Re: atari800, svgalib, and non-i386 architectures
On Tue, Dec 04, 2001 at 09:10:46AM -0500, Dale Scheetz wrote:
>
> Well, I guess I was actually asking if 'dpkg --print-architecture' is the
> best way to determine the build arch. If this will work reliably, I can
> simply not build the svgalib component on any but the i386 arch.
>
Nah, this is the usual way:
# see dpkg-architecture(8)
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
The just check $(DEB_BUILD_ARCH) == i386.
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: