summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-03-09 19:27:41 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-03-09 19:27:41 +0000
commitcda6c3f9201a148ff742c9ae35ea466c02598157 (patch)
tree5619d125893bbd8c68df014387d7e86e463ab7bc
parentd2fcf7168d190105cfba86711ea0c6cd4b611986 (diff)
Use architecture-dependent overrides.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules4
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 7a40fa4..77e7b52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ tcc (0.9.27-6) UNRELEASED; urgency=medium
+ Enable build of i386 tcc cross-compiler (Closes: #673380).
+ Remove build and clean overrides useless since debhelper 10.
+ Link i386-tcc manual to tcc manual.
+ + Use architecture-dependent overrides.
-- Thomas Preud'homme <robotux@debian.org> Thu, 08 Mar 2018 22:31:50 +0000
diff --git a/debian/rules b/debian/rules
index 5aa33f7..4832e58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,12 @@ else ifeq (armhf,$(DEB_HOST_ARCH))
sed 's/\(TCC_ARM_VERSION\) .*/\1 7/' config.h
endif
-override_dh_auto_build:
+override_dh_auto_build-arch:
dh_auto_build
ifeq (amd64,$(DEB_HOST_ARCH))
dh_auto_build -- cross-i386 DEF-i386='-DCONFIG_TRIPLET="\"i386-linux-gnu\"" -DTCC_TARGET_I386'
-override_dh_auto_install:
+override_dh_auto_install-arch:
dh_auto_install
dh_link usr/share/man/man1/tcc.1 usr/share/man/man1/i386-tcc.1
endif