lib32 and Makefiles
Kostik Belousov
kostikbel at gmail.com
Fri Jun 4 22:32:42 UTC 2010
On Fri, Jun 04, 2010 at 10:03:39PM +0200, Hans Petter Selasky wrote:
> Hi,
>
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100604/76bd7a64/attachment.pgp
More information about the freebsd-hackers
mailing list