make mklib work with cross compilation
authorHelmut Grohne <helmut@subdivi.de>
Thu, 10 Aug 2017 12:00:39 +0000 (14:00 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 17 Aug 2017 19:49:55 +0000 (20:49 +0100)
commite8f6cba3b0adf639c09681def430ec26f5cd1800
tree46a28a593e64fa2dd25f7fdfb1223700ef45be48
parent534bc1f16ef207fc0d5071877684ca75d7caa52d
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