diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2018-03-08 22:44:03 +0000 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2018-03-09 00:24:10 +0000 |
commit | 27f4001541a2742f56dddf99ed27bd86913a4705 (patch) | |
tree | 6eac3fbd1f4ed914907f394883b6d8632470d524 | |
parent | b70f0dd3e337c84a37d708ffa9fe03a3fcfbd25b (diff) |
enable build of i386 tcc cross-compiler (Closes: #673380).
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index a6f2cd6..3661a88 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ tcc (0.9.27-6) UNRELEASED; urgency=medium * debian/rules: + Simplify Debian architecture check. + + Enable build of i386 tcc cross-compiler (Closes: #673380). -- Thomas Preud'homme <robotux@debian.org> Thu, 08 Mar 2018 22:31:50 +0000 diff --git a/debian/rules b/debian/rules index ebf2c03..c804cc0 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,12 @@ else ifeq (armhf,$(DEB_HOST_ARCH)) sed 's/\(TCC_ARM_VERSION\) .*/\1 7/' config.h endif +override_dh_auto_build: + dh_auto_build +ifeq (amd64,$(DEB_HOST_ARCH)) + dh_auto_build -- cross-i386 DEF-i386='-DCONFIG_TRIPLET="\"i386-linux-gnu\"" -DTCC_TARGET_I386' +endif + override_dh_auto_test: dh_auto_test --no-parallel |