From d37bc04187a9fae7e4faa1a113099f5d0804f7a0 Mon Sep 17 00:00:00 2001
From: Jonathan Maw <jonathan.maw@codethink.co.uk>
Date: Fri, 1 Sep 2017 15:40:08 +0100
Subject: gnu-toolchain: Make fhs-dirs symlink lib64 on ppc64 arches

Needed to fix build on ppc64.
---
 elements/gnu-toolchain/stage2-fhs-dirs.bst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'elements/gnu-toolchain/stage2-fhs-dirs.bst')

diff --git a/elements/gnu-toolchain/stage2-fhs-dirs.bst b/elements/gnu-toolchain/stage2-fhs-dirs.bst
index 41a57dd3..ba420cb0 100644
--- a/elements/gnu-toolchain/stage2-fhs-dirs.bst
+++ b/elements/gnu-toolchain/stage2-fhs-dirs.bst
@@ -51,3 +51,15 @@ arches:
         (>):
         - mkdir -p "%{install-root}/usr/lib64"
         - ln -s "./usr/lib64" "%{install-root}/lib64"
+  ppc64l:
+    config:
+      install-commands:
+        (>):
+        - mkdir -p "%{install-root}/usr/lib64"
+        - ln -s "./usr/lib64" "%{install-root}/lib64"
+  ppc64b:
+    config:
+      install-commands:
+        (>):
+        - mkdir -p "%{install-root}/usr/lib64"
+        - ln -s "./usr/lib64" "%{install-root}/lib64"
-- 
cgit v1.2.1

