summaryrefslogtreecommitdiff
path: root/debian/rules.defs
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-04-02 13:35:59 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-04-02 13:35:59 +0000
commitfa6dc29999057c3b2620c71cc79047b2d1c1d481 (patch)
tree4c65d875fd85d08420dcbb9a5b1444715c5a7af0 /debian/rules.defs
parent2919eaa57483de050f7cbe8fc3bb0b8ca233056d (diff)
downloadgcc-5-fa6dc29999057c3b2620c71cc79047b2d1c1d481.tar.gz
- don't try to bump the ix86 triplet for older releases
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7950 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.defs')
-rw-r--r--debian/rules.defs6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/rules.defs b/debian/rules.defs
index 8eaa0fc..1016b30 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -138,8 +138,10 @@ DEB_TARGET_GNU_TYPE := $(call vafilt,$(TARGET_VARS),DEB_HOST_GNU_TYPE)
DEB_TARGET_GNU_SYSTEM := $(call vafilt,$(TARGET_VARS),DEB_HOST_GNU_SYSTEM)
DEB_TARGET_MULTIARCH := $(call vafilt,$(TARGET_VARS),DEB_HOST_MULTIARCH)
-ifeq ($(DEB_TARGET_GNU_TYPE),i486-linux-gnu)
- DEB_TARGET_GNU_TYPE = i586-linux-gnu
+ifeq (,$(filter $(distrelease),dapper lucid))
+ ifeq ($(DEB_TARGET_GNU_TYPE),i486-linux-gnu)
+ DEB_TARGET_GNU_TYPE = i586-linux-gnu
+ endif
endif
ifeq ($(DEB_TARGET_ARCH),)