summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-30 20:08:43 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-30 20:08:43 +0400
commit89917e4ce3be3a92206b014cbe906bbeb62de0ee (patch)
tree80dfcebf39a998de0f37f55063a41fe8086a3d21
parentbffb4083c45dc1e94322a07bccfe36672f5050fd (diff)
downloadopen-axiom-debian-89917e4ce3be3a92206b014cbe906bbeb62de0ee.tar.gz
Use /usr/share/dpkg/architecture.mk
-rwxr-xr-xdebian/rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index e3074ba..b70d418 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,11 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
# make clean does not clean properly, so building out of source
BUILD = $(CURDIR)/build-tree
-LDFLAGS = -Wl,--as-needed
-
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+LDFLAGS += -Wl,--as-needed
# List of archs currently having SBCL
# Keep build-deb on sbcl in one line: sbcl (...) [...],