put -m32 in 32-bit compiler command
commitdaad711479152fae1776a3e02b9138516137ec5e
authorLauri Tirkkonen <lotheac@iki.fi>
Wed, 22 May 2019 12:04:52 +0000 (22 12:04 +0000)
committerLauri Tirkkonen <lotheac@iki.fi>
Wed, 22 May 2019 17:31:13 +0000 (22 17:31 +0000)
treea365b1ed795a6d77f12f9df3bcf08cdb341bccc1
parent083d1d68697d3cfef86ca2935349ffdc730f6c89
put -m32 in 32-bit compiler command

in many cases, libtool --mode=link is used without passing LDFLAGS or CFLAGS to
it. this was fine for solaris ld since it auto-detects the output target from
the first object, but for gnu ld we need to be explicit. since libtool uses the
compiler frontend as the linker, this is sufficient to cause proper linker
invocations for 32-bit libtool stuff.
make-rules/shared-macros.mk