make mklib work with cross compilation
authorHelmut Grohne <helmut@subdivi.de>
Thu, 10 Aug 2017 12:00:39 +0000 (14:00 +0200)
committerOle Streicher <olebole@debian.org>
Thu, 11 Jan 2018 20:17:38 +0000 (20:17 +0000)
commit3da38a0b8fc7c5b27f84f189f6a754fd00c76057
tree23fec35622c13686c37854126ad2a3c02895585b
parent2b3524f302a084e0cefeb4f893d5cedd220a0abf
make mklib work with cross compilation

The first hunk makes it use the compiler discovered by ./configure and thus
will work with cross compilers. Since Makefile.in exports CC and CXX, it seems
like mklib should be picking these up and not doing so is an upstream bug.

Then remove insertion of -m32, because this is not universally understood by
cross compilers. On Debian, the provided compiler will always choose the
correct ABI, so no -m32 or -m64 is necessary. This part likely is not
upstreamable.

Gbp-Pq: Name make-mklib-work-with-cross-compilation.patch
mklib