summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elements/bootstrap/stage3-sysroot.bst9
1 files changed, 9 insertions, 0 deletions
diff --git a/elements/bootstrap/stage3-sysroot.bst b/elements/bootstrap/stage3-sysroot.bst
index cc6d0632..8a4616ef 100644
--- a/elements/bootstrap/stage3-sysroot.bst
+++ b/elements/bootstrap/stage3-sysroot.bst
@@ -13,3 +13,12 @@ depends:
config:
exclude: [ debug, doc, locale ]
+
+public:
+ bst:
+ integration-commands:
+ # Remove libtool's `.la` files. These are not needed for the base
+ # platform to work, and actually break cross-compilation of stage2-gcc
+ # somehow -- /lib64/libstdc++.so gets in to the dependency list of
+ # cross-built C++ libraries, causing disaster.
+ - find ./usr/lib ./usr/lib64 ./usr/libexec -name lib\*.la -delete