summaryrefslogtreecommitdiff
path: root/debian/rules.defs
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-12-06 13:34:51 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-12-06 13:34:51 +0000
commit4de835090116444fba08dd6a1dcb06b6dcbb0a2b (patch)
tree33dae01845e9b924dcfb9fecbf80af47b35db193 /debian/rules.defs
parent69f5143d34e28812aaf090ffa7101d3e70982104 (diff)
downloadgcc-47-4de835090116444fba08dd6a1dcb06b6dcbb0a2b.tar.gz
* For cross builds, fix multilib inter package dependencies.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6366 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.defs')
-rw-r--r--debian/rules.defs9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules.defs b/debian/rules.defs
index 83e3760..c81d22b 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -324,6 +324,15 @@ ifeq (,$(filter $(distrelease),lenny etch squeeze dapper hardy jaunty karmic luc
with_multiarch_lib := yes
endif
+ifeq ($(with_multiarch_lib),yes)
+ ifneq ($(single_package),yes)
+ ifeq ($(DEB_CROSS),yes)
+ else
+ with_multiarch_cxxheaders := yes
+ endif
+ endif
+endif
+
ifeq (,$(filter $(distrelease),lenny etch squeeze dapper hardy jaunty karmic lucid maverick))
multiarch_stage1 := yes
endif