mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/shedskin: fix
This commit is contained in:
parent
0ba4a95b35
commit
9de72ba518
1 changed files with 4 additions and 4 deletions
|
@ -18,11 +18,11 @@ source=("git+https://github.com/shedskin/shedskin.git#tag=v$pkgver")
|
|||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
[[ $CARCH == "arm" ]] && sed -i 's/-march=native/-march=armv5te/' $pkgname/shedskin/FLAGS
|
||||
[[ $CARCH == "armv6h" ]] && sed -i 's/-march=native/-march=armv6 -mfloat-abi=hard -mfpu=vfp/' $pkgname/shedskin/FLAGS
|
||||
[[ $CARCH == "armv7h" ]] && sed -i 's/-march=native/-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard/' $pkgname/shedskin/FLAGS
|
||||
[[ $CARCH == "aarch64" ]] && sed -i 's/-march=native/-march=armv8-a/' $pkgname/shedskin/FLAGS
|
||||
sed -i 's:bin/python:usr/bin/python:' "$pkgname/scripts/$pkgname"
|
||||
[[ $CARCH == "arm" ]] && sed -i 's/-march=native/-march=armv5te/' shedskin/FLAGS
|
||||
[[ $CARCH == "armv6h" ]] && sed -i 's/-march=native/-march=armv6 -mfloat-abi=hard -mfpu=vfp/' shedskin/FLAGS
|
||||
[[ $CARCH == "armv7h" ]] && sed -i 's/-march=native/-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard/' shedskin/FLAGS
|
||||
[[ $CARCH == "aarch64" ]] && sed -i 's/-march=native/-march=armv8-a/' shedskin/FLAGS
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue