Fix cross build.
authorHelmut Grohne <helmut@subdivi.de>
Wed, 1 Mar 2023 16:03:24 +0000 (17:03 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 1 Mar 2023 16:16:47 +0000 (17:16 +0100)
commit51a5a39de6d9527e38b84744abfa330ef36ab779
tree2c15618ea17a3a774afb7c688fe35fe7ee343242
parent873ecbb82d5038bb517d4531710276727343051b
Fix cross build.

The cross build fails to find the lopsub library since it configures
for the build architecture. This happens as no --build nor --host is
passed which would have happened automatically if dh_auto_configure
could be used. Thus it'll have to be passed manually. Then configure
fails finding config.h.in, which for some reason is not created (nor
asked for) by the override_dh_autoreconf. And finally, the actual
Makefile does not pick up the compiler detected by configure and
rather uses plain cc, so we'll have to tell it as well.

Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
debian/changelog
debian/rules