summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-28 20:28:51 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-28 20:28:51 -0200
commitc2a136aea7c3c882fc9da69c9e139cede98df34f (patch)
tree2d26ad00e08d658636056f9f3e32326ad3188a9e
parent49af25ac5d7e089c28b8f84c29f7f373d5601406 (diff)
parent5eaafc2229e6e6370334ba4cbc02c318be34994d (diff)
downloadabslibre-c2a136aea7c3c882fc9da69c9e139cede98df34f.tar.gz
abslibre-c2a136aea7c3c882fc9da69c9e139cede98df34f.tar.bz2
abslibre-c2a136aea7c3c882fc9da69c9e139cede98df34f.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/filesystem/PKGBUILD5
-rw-r--r--libre/pacman/PKGBUILD4
2 files changed, 7 insertions, 2 deletions
diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD
index 4cdd1481a..eb684f5f7 100644
--- a/libre/filesystem/PKGBUILD
+++ b/libre/filesystem/PKGBUILD
@@ -85,6 +85,11 @@ package() {
ln -s usr/lib ${pkgdir}/lib64
ln -s lib ${pkgdir}/usr/lib64
)
+ [[ ${CARCH} = "mips64el" ]] && (
+ # For the N32 ABI.
+ ln -s usr/lib ${pkgdir}/lib32
+ ln -s lib ${pkgdir}/usr/lib32
+ )
#
# install parabola(7) manpage
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD
index 85ae5cc5f..0cfb73c55 100644
--- a/libre/pacman/PKGBUILD
+++ b/libre/pacman/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pacman
pkgver=4.0.3
-pkgrel=5
+pkgrel=5.1 # no difference from 5 unless on mips64el
pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.archlinux.org/pacman/"
@@ -77,7 +77,7 @@ package() {
install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf
mycarch="mips64el"
mychost="mips64el-unknown-linux-gnu"
- myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+ myflags="-O2 -march=mips3 -mtune=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro"
;;
esac