Re: atari800, svgalib, and non-i386 architectures
On Tue, 4 Dec 2001, Ben Collins wrote:
> 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.
Thanks, I knew about this, but had some ancient memory of discussions
around one of these being more reliable than the other, and didn't
remember which one ;-)
Appreciate the help,
Dwarf
--
_-_-_-_-_- Author of "Dwarf's Guide to Debian GNU/Linux" _-_-_-_-_-_-
_- _-
_- aka Dale Scheetz Phone: 1 (850) 656-9769 _-
_- Flexible Software 11000 McCrackin Road _-
_- e-mail: dwarf@polaris.net Tallahassee, FL 32308 _-
_- _-
_-_-_-_-_- Released under the GNU Free Documentation License _-_-_-_-
available at: http://www.polaris.net/~dwarf/
Reply to: