[Swan-dev] Bug#854094: libreswan FTBFS on x32 due to missing <sys/time.h>

Paul Wouters paul at nohats.ca
Sat Feb 4 22:17:21 UTC 2017


On Fri, 3 Feb 2017, Daniel Schepler wrote:

> I'm not sure exactly where ARCH comes from - but one difference you
> could use is that the GNU triplet for x32 is x86_64-linux-gnux32, as
> opposed to x86_64-linux-gnu for amd64.
>
>> GCCM to -m32 in debian/rules when building for x32?
>
> The flag would be -mx32 (-m32 would try to cross-build for i386 and
> run into the same issue).  Either that, or just drop the
> -m64/-m32/-mx32 flag altogether for Debian builds as it's not really
> necessary anyway.

I've removed it, as it indeed did not seem to be needed anymore.

Paul


More information about the Swan-dev mailing list