summaryrefslogtreecommitdiff
path: root/debian/rules.patch
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2013-01-04 13:35:49 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2013-01-04 13:35:49 +0000
commit17424ae8658aebc1340f5b258eddcc103a7c4f0c (patch)
tree510503688c2f5da2ee8d125587609e4cd6eaaa25 /debian/rules.patch
parent05b50e1e143960d4c98a9967bb9c93836d902a18 (diff)
downloadgcc-47-17424ae8658aebc1340f5b258eddcc103a7c4f0c.tar.gz
[ Thibaut Girka ]
* Prepare for optional dependencies on the packages built on the target architecture. * When using the above, - install libraries into the multiarch directories. git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6518 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.patch')
-rw-r--r--debian/rules.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules.patch b/debian/rules.patch
index 0071fd1..ad84cfc 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -231,8 +231,12 @@ debian_patches += arm-multilib-defaults
ifeq ($(DEB_CROSS),yes)
debian_patches += cross-fixes
- debian_patches += cross-install-location
- spu_patches := $(filter-out cross-install-location,$(spu_patches))
+ ifeq ($(with_deps_on_target_arch_pkgs),yes)
+ debian_patches += cross-ma-install-location
+ else
+ debian_patches += cross-install-location
+ spu_patches := $(filter-out cross-install-location,$(spu_patches))
+ endif
endif
ifeq ($(DEB_TARGET_ARCH_OS),hurd)