mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/racer: Fix building on -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
4e881f2a54
commit
e8c749fb68
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for racer
|
||||
|
||||
# Copyright 2017 Andrew Clemons, Wellington New Zealand
|
||||
# Copyright 2017-2018 Andrew Clemons, Wellington New Zealand
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -33,6 +33,12 @@ if [ -z "$ARCH" ]; then
|
|||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
if rustc -Vv | grep host | grep i686 > /dev/null ; then
|
||||
ARCH=i686
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
|
|
Loading…
Reference in a new issue