Commit f34ee1a1 authored by Bas Zoetekouw's avatar Bas Zoetekouw

Fix FTCBFS: (Closes: #894836)

parent 593f4dee
......@@ -7,6 +7,9 @@ blktrace (1.2.0-1) UNRELEASED; urgency=medium
* Fix init.d error when DebugFS is already mounted (Closes: #705269)
* Update Standards-version to version 4.1.4; change proiority to optional
* Fix buffer overflow in btt (CVE-2018-10689) (Closes: #897695)
* Fix FTCBFS: (Closes: #894836)
+ Let dh_auto_build pass cross tools to make.
+ Fix build/host confusion.
-- Bas Zoetekouw <bas@debian.org> Sat, 19 May 2018 21:49:22 +0200
......
......@@ -2,7 +2,7 @@
#export DH_VERBOSE=1
#DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS )
include /usr/share/dpkg/architecture.mk
CFLAGS += -Wall -Wextra -Wno-shadow -g
......@@ -16,7 +16,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
dh $@
override_dh_auto_build:
ifeq ($(DEB_BUILD_ARCH_OS),linux)
ifeq ($(DEB_HOST_ARCH_OS),linux)
# Building for a Linux-type OS, everything's fine
#
# variables are:
......@@ -26,13 +26,13 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
else
####################################################
## Oops, it seems you are trying to build blkutils
## for a non-Linux OS `$(DEB_BUILD_ARCH_OS)'.
## for a non-Linux OS `$(DEB_HOST_ARCH_OS)'.
## This is not supported.
## Please file a bug if you think this is wrong.
####################################################
false
endif
$(MAKE) CFLAGS="$(CPPFLAGS) $(CFLAGS) $(LDFLAGS)" all docs
dh_auto_build -- CFLAGS="$(CPPFLAGS) $(CFLAGS) $(LDFLAGS)" all docs
override_dh_auto_install:
$(MAKE) 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