-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb2cd62
commit 50c56be
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
Index: PKGBUILD | ||
=================================================================== | ||
--- PKGBUILD (revision 1010493) | ||
+++ PKGBUILD (working copy) | ||
@@ -22,7 +22,7 @@ | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -37,14 +37,16 @@ prepare() { | ||
sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux | ||
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux | ||
# install rscsi to /usr/bin instead of /usr/sbin | ||
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile | ||
- | ||
sed -i 's|INSDIR=\s*sbin|INSDIR=bin|' rscsi/Makefile | ||
+ | ||
+ ln -s i586-linux-cc.rul RULES/riscv64-linux-cc.rul | ||
} | ||
|
||
build() { | ||
cd $pkgname-$_pkgver | ||
|
||
export GMAKE_NOWARN=true | ||
make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS" | ||
- export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing" | ||
- make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS" | ||
+ export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing -Wno-implicit-int" | ||
+ make INS_BASE=/usr INS_RBASE=/ VERSION_OS="_ArchLinux" LDOPTX="$LDFLAGS" COPTX="$CFLAGS" | ||
} | ||
|
||
check() { |