Commit 68abf00d authored by Dominique Dumont's avatar Dominique Dumont

fix cross build from source

Closes: 921699
Thanks: Helmut Grohne <helmut@subdivi.de>
parent cde9d06c
libtommath (1.1.0-2.1) UNRELEASED; urgency=medium
* Non-maintainer upload.
* Fix FTCBFS: (Closes: #921699)
+ Let dh_auto_build pass cross tools to make.
+ Honour DEB_BUILD_OPTIONS=nocheck.
-- Helmut Grohne <helmut@subdivi.de> Fri, 08 Feb 2019 06:33:49 +0100
libtommath (1.1.0-2) unstable; urgency=medium
* Build a libtool to drop the libtool-bin dependency.
......
......@@ -28,15 +28,17 @@ override_dh_auto_build:
dh_auto_configure --sourcedirectory=debian/libtool
echo "Building libtommath"
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool
dh_auto_build --buildsystem=makefile -- -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool
echo "Building docs"
$(MAKE) manual docs
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
echo "compiling test programs"
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool test_standalone
echo "running test"
./test
endif
override_dh_auto_install:
$(MAKE) -f makefile.shared LIBTOOL=$(CURDIR)/debian/libtool/libtool install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment