diff options
Diffstat (limited to 'libre/p7zip-libre/PKGBUILD')
-rw-r--r-- | libre/p7zip-libre/PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/p7zip-libre/PKGBUILD b/libre/p7zip-libre/PKGBUILD index fbd189a81..a519499f7 100644 --- a/libre/p7zip-libre/PKGBUILD +++ b/libre/p7zip-libre/PKGBUILD @@ -40,11 +40,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() { |