Date: Sat, 5 Jun 2010 01:32:32 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org Subject: Re: lib32 and Makefiles Message-ID: <20100604223232.GQ83316@deviant.kiev.zoral.com.ua> In-Reply-To: <201006042203.39515.hselasky@c2i.net> References: <201006042203.39515.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--ViugPjSMr9TemhdD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2010 at 10:03:39PM +0200, Hans Petter Selasky wrote: > Hi, >=20 > What is the recommended way to detect a lib32 build on FreeBSD 8/9 > from inside the Makefile? For the C code, the proper way is to #ifdef COMPAT_32BIT. I was not able to find a good way to determine this inside Makefile. Probably, looking for the presence of LIB32* variables (see src/Makefile.inc1) is the most satisfactory way for now. --ViugPjSMr9TemhdD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwJfwAACgkQC3+MBN1Mb4ilkACfcqCq33i/umKnDyAzNRQ/8xC4 1ekAn0hWHomn1S8izy9Mo1g3Louc6z06 =vRS5 -----END PGP SIGNATURE----- --ViugPjSMr9TemhdD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100604223232.GQ83316>