diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-08-02 21:31:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-08-02 21:31:42 +0000 |
commit | 58a453f69b02aabe501c58d1bf0a473b2eb3b209 (patch) | |
tree | 1919f16bd9a8a2ce624989b3f6a33b13f62b6590 /debian/rules | |
parent | Releasing debian version 1.19-2. (diff) | |
download | lzip-58a453f69b02aabe501c58d1bf0a473b2eb3b209.tar.xz lzip-58a453f69b02aabe501c58d1bf0a473b2eb3b209.zip |
Applying patch from Helmut Grohne <helmut@subdivi.de> to fix FTBFS when cross-compiling (Closes: #870516).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index e04f219..b89f67e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,17 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + +ifeq ($(origin CXX),default) +CXX := $(DEB_HOST_GNU_TYPE)-g++ +endif + %: dh ${@} +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX)' + override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzip |