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, 10 Aug 2017 12:04:00 +0000 (13:04 +0100)
commit15c2172fb623edace57fe5456675526b9fdb69bd
treebf5b7e50bb001572fc8da8a9b532e89f35d35bf4
parente9693c4f445b54df3e4c04b67d3150906847a6b9
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