summaryrefslogtreecommitdiff
path: root/strata/build-essential
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-12-21 11:25:36 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-12-21 17:49:17 +0000
commit50f2431eb57a6acc3f776e9ef7c18b4dc6d57e2e (patch)
tree4ac416e33cb53535809a2fb7bf7d88026a37ba9e /strata/build-essential
parent164d23902b6dae0932459e25c2650fe047b9c962 (diff)
downloaddefinitions-50f2431eb57a6acc3f776e9ef7c18b4dc6d57e2e.tar.gz
Use MORPH_ARCH instead manual parsing
Change-Id: I10f5794157941c828db8d3acbc386dffbacd1831
Diffstat (limited to 'strata/build-essential')
-rw-r--r--strata/build-essential/stage2-glibc.morph3
1 files changed, 1 insertions, 2 deletions
diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph
index f44d0ebb..45f22db5 100644
--- a/strata/build-essential/stage2-glibc.morph
+++ b/strata/build-essential/stage2-glibc.morph
@@ -85,8 +85,7 @@ install-commands:
# sysdeps/unix/sysv/linux/configure.
- install -d $DESTDIR/lib
- |
- cpu=$(echo $TARGET | cut -d '-' -f 1)
- case "$cpu" in
+ case "$MORPH_ARCH" in
x86_64)
install -d "$DESTDIR/lib64"
ln -s "$PREFIX/lib/ld-linux-x86-64.so.2" \