summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-03-08 22:32:38 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-03-09 00:23:44 +0000
commitb70f0dd3e337c84a37d708ffa9fe03a3fcfbd25b (patch)
treed87b89c58b30fa4156ed542c10154b70c8db422d
parentd2bab1503ea84cdd2f46da5ad7209dc5f11ff1ec (diff)
Simplify Debian architecture check.
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules2
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 7c26ba2..a6f2cd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tcc (0.9.27-6) UNRELEASED; urgency=medium
+
+ * debian/rules:
+ + Simplify Debian architecture check.
+
+ -- Thomas Preud'homme <robotux@debian.org> Thu, 08 Mar 2018 22:31:50 +0000
+
tcc (0.9.27-5) unstable; urgency=medium
* debian/control:
diff --git a/debian/rules b/debian/rules
index 3264d1c..ebf2c03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,11 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
override_dh_auto_configure:
dh_auto_configure -- --docdir=/usr/share/doc/tcc
-ifeq (arm,$(DEB_HOST_ARCH_CPU))
ifeq (armel,$(DEB_HOST_ARCH))
sed 's/\(TCC_ARM_VERSION\) .*/\1 4/' config.h
else ifeq (armhf,$(DEB_HOST_ARCH))
sed 's/\(TCC_ARM_VERSION\) .*/\1 7/' config.h
endif
-endif
override_dh_auto_test:
dh_auto_test --no-parallel