summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2013-11-04 13:52:44 +0400
committerDmitry Shachnev <mitya57@gmail.com>2013-11-04 13:52:44 +0400
commitdff01303cbddb21e0a4ed59356478889a3de2081 (patch)
tree63e09b8a3411ffb3c5235a99d94c22cafc7fd55d /debian/rules
parent8ad0f299de7b3f564b8dce0c14c98505c0858d59 (diff)
downloadqtdeclarative-dff01303cbddb21e0a4ed59356478889a3de2081.tar.gz
Explicitly define DEB_HOST_MULTIARCH in debian/rules.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6ecf8ea..5e06bb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed