aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Tom Briden <tom@decompile.me.uk> 2018-01-07 16:32:16 +0000
committerAvatar Heiko Becker <heirecka@exherbo.org> 2018-01-08 09:15:29 +0100
commit4a657930ad00a737f56c817272a19e30dface5f6 (patch)
tree96d50fcf389561f651b2ec76e0806ed2d776178e
parent2a25ec5228889eb18b27c5f49ead0675e8ad0ccc (diff)
downloaddocs-master.tar.gz
docs-master.tar.xz
multiarch-new-target: Update instructions for cross compiling glibcHEADmaster
Copied from the multiarch migration guide, cross compiling glibc tries to pull in timezone-data which itself requires glibc Change-Id: I0b24a2b46c020eb69e1d0451e703ad42d850d85f Reviewed-on: https://galileo.mailstation.de/gerrit/10933 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Heiko Becker <heirecka@exherbo.org>
-rw-r--r--multiarch/multiarch-new-target.mkd6
1 files changed, 5 insertions, 1 deletions
diff --git a/multiarch/multiarch-new-target.mkd b/multiarch/multiarch-new-target.mkd
index e368cf7..111ac95 100644
--- a/multiarch/multiarch-new-target.mkd
+++ b/multiarch/multiarch-new-target.mkd
@@ -81,7 +81,11 @@ consider adding it in a another paludis environment.
6. Cross compile `linux-headers` and `glibc`
# cave resolve --preserve-world --make cross-compile sys-kernel/linux-headers
- # cave resolve --preserve-world --make cross-compile sys-libs/glibc
+ # cave resolve --preserve-world --make cross-compile --no-dependencies-from sys-libs/glibc sys-libs/glibc
+
+ Dependencies handling isn't perfect. glibc has a run-time dependency upon
+ timezone-data, but for cross compilation hosts that can't be built before
+ gcc. Therefore we have to use `--no-dependencies-from`.
If you have more than one cross compilation target in the same
environment you'll need to specify