From 16ed36eda112916f59dba0bbe8759fef34f88439 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 28 Jan 2013 17:32:31 +0100 Subject: pacman: build packages for MIPS3 by default (mips64el-specific update). Most packages do not need Loongson 2F-specific instructions while enabling these makes them not run on Loongson 3A. Some packages will need different builds for 2F and 3A, this will be handled in future. Tune for 2F since it's currently the most common target machine. --- libre/pacman/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libre') 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 -- cgit v1.2.3-54-g00ecf