On Mon, 7 Sep 2009 12:32:27 +0200, Andreas Tille wrote: > Hi, Hello Andreas :) > the new version of arb I want to package requires to set a variable > > ARB_64=0/1 1=>compile 64 bit version > > to specify whether it will be compiled on 32 or 64 bit architecture. Is > there any safe way to set this variable automatically from environment? > I expected dpkg-architecture to provide this information but it does not. > > Am I missing something? Doesn't dpkg-architecture do this? $ dpkg-architecture | grep BITS DEB_BUILD_ARCH_BITS=32 DEB_HOST_ARCH_BITS=32 (and I'm on i386). $ apt-cache policy dpkg | grep \* *** 1.15.4 0 Kindly, David -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Attachment:
signature.asc
Description: PGP signature