diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2017-09-12 14:31:48 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-09-19 16:12:12 +0000 |
commit | 950cd372b600fc6a4262880f955b597092372974 (patch) | |
tree | ad41554fac39d9f4aa88db33ff7541a2a8424b9a /elements/gnu-toolchain/stage2-gcc.bst | |
parent | ca57c6994c0c0aac781c07be000cd430d6e76750 (diff) | |
download | definitions-950cd372b600fc6a4262880f955b597092372974.tar.gz |
Fix armv8l64 looking in the wrong place for libraries
Diffstat (limited to 'elements/gnu-toolchain/stage2-gcc.bst')
-rw-r--r-- | elements/gnu-toolchain/stage2-gcc.bst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/elements/gnu-toolchain/stage2-gcc.bst b/elements/gnu-toolchain/stage2-gcc.bst index 13b925a9..25dbc65d 100644 --- a/elements/gnu-toolchain/stage2-gcc.bst +++ b/elements/gnu-toolchain/stage2-gcc.bst @@ -91,11 +91,11 @@ config: # gcc/config/i386/t-linux64 and this might break things, so for now we # tolerate the inconsistency. - | - if [ "$(echo %{target} | cut -c -6)" = "x86_64" ]; then - libdir=lib64 - else - libdir=lib - fi + case "$(echo %{target} | cut -c -6)" in + x86_64) libdir=lib64;; + armv8*64) libdir=lib64;; + *) libdir=lib + esac install -d "%{install-root}/usr/lib" ln -s "%{prefix}/$libdir/libgcc_s.so" "%{install-root}/usr/lib/" |