diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2018-03-09 19:27:41 +0000 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2018-03-09 19:27:41 +0000 |
commit | cda6c3f9201a148ff742c9ae35ea466c02598157 (patch) | |
tree | 5619d125893bbd8c68df014387d7e86e463ab7bc /debian/rules | |
parent | d2fcf7168d190105cfba86711ea0c6cd4b611986 (diff) |
Use architecture-dependent overrides.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 2 insertions, 2 deletions
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 |