[PATCH rdma-core 1/3] debian: Include architecture.mk for DEB_HOST_ARCH definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dpkg-buildpackage will set DEB_HOST_ARCH, but a direct call of the
debian/rules makefile will not set this environment variable. Therefore
include /usr/share/dpkg/architecture.mk to get this variable set in all
cases. This will fix the build failure on Travis CI.

Signed-off-by: Benjamin Drung <benjamin.drung@xxxxxxxxxxxxxxxx>
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index b0fbe1d6..1201f6a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 NO_COHERENT_DMA_ARCHS = armel armhf mips mips64el mipsel
-- 
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux