summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/p7zip-libre/PKGBUILD')
-rw-r--r--libre/p7zip-libre/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD
index 7f8c3b789..0d9b79d4e 100644
--- a/libre/p7zip-libre/PKGBUILD
+++ b/libre/p7zip-libre/PKGBUILD
@@ -43,11 +43,15 @@ build() {
msg "Removing unRar"
# Generate patch
# sed -e '/Rar/d' -i makefile*
-# find -name '*Rar*' -print0 | xargs -0 rm -rvf
+# find -name '*Rar*' -print0 | xargs -0 rm -rvf
# Remove Rar mentions in CPP/7zip/Bundles/Format7zFree/makefile
patch -Np1 -i ../p7zip-libre.patch
- make all4 OPTFLAGS="${CXXFLAGS}"
+ if [ "$CARCH" = "mips64el" ]; then
+ make all3 OPTFLAGS="${CXXFLAGS}"
+ else
+ make all4 OPTFLAGS="${CXXFLAGS}"
+ fi
}
package() {