[Libreoffice] Help on fixing set_soenv so that it uses configure --build options

Caolán McNamara caolanm at redhat.com
Tue Apr 19 01:35:04 PDT 2011

On Mon, 2011-04-18 at 20:57 -0400, Pablo Duboue wrote:
> Moreover, it makes it impossible to build in a 32-bit chroot running in a
> x86-64 machine.


a) you can run linux32 before running configure, that's sort of my
typical route
b) for the other multilibs platforms, powerpc64 and s390x, we do an
additional @SIZEOF_LONG@ test in set_soenv.in to see if the compiler is
in 32bit or 64bit mode. As a quick fix you could merge Linux
if ($platform =~ m/^i[3456]86/) and elsif ($platform =~ m/^x86_64/)
together and then switch off ('@SIZEOF_LONG@' eq '8') to take the
LinuxX86-64Env.Set.sh branch and LinuxX86Env.Set.sh otherwise.


More information about the LibreOffice mailing list