Commit a91542f9 authored by Mike Gabriel's avatar Mike Gabriel

debian/rules: Regression fix for usage of DEB_HOST_ARCH vs. DEB_BUILD_ARCH....

debian/rules: Regression fix for usage of DEB_HOST_ARCH vs. DEB_BUILD_ARCH. Switching back to DEB_HOST_ARCH to not break cross-builds. Thanks to Guillem Jover for teaching me about the difference between those two options. (Closes: #822842).
parent 21b170c2
......@@ -6,15 +6,15 @@ include /usr/share/dpkg/buildflags.mk
NULL =
DEB_BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifneq (,$(filter armhf,$(DEB_BUILD_ARCH)))
DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (,$(filter armhf,$(DEB_HOST_ARCH)))
ARM_FLOAT_ABI = -DARM_FP_ABI=hard
else
ARM_FLOAT_ABI =
endif
DEB_BUILD_ARCH_OS=$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
ifneq (,$(filter linux,$(DEB_BUILD_ARCH_OS)))
DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS)))
LINUX_URBDRC_CLIENT = -DCHANNEL_URBDRC_CLIENT=on
else
LINUX_URBDRC_CLIENT = -DCHANNEL_URBDRC_CLIENT=off
......
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