diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-09-23 00:52:32 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-09-23 00:52:32 -0500 |
commit | f1f98b97552c5691d3299f75285305cc4f20b31c (patch) | |
tree | 0d5f5c0c8c288957cb2494a3857daa5067f0c75d /libre/pacman/PKGBUILD | |
parent | c46530cc357ee3e913d7243ad477caaa2ad2e147 (diff) |
pacman: armv7h port
Diffstat (limited to 'libre/pacman/PKGBUILD')
-rw-r--r-- | libre/pacman/PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 70d2de513..21e10ceae 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -12,7 +12,7 @@ pkgname=pacman pkgver=4.2.1 pkgrel=2.parabola2 pkgdesc="A library-based package manager with dependency support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base' 'base-devel') @@ -29,7 +29,7 @@ backup=('etc/pacman.conf' 'etc/makepkg.conf') options=('strip' 'debug') source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig} ensure-matching-database-and-package-version.patch - $pkgname.conf.{i686,x86_64} + $pkgname.conf.{i686,x86_64,armv7h} makepkg.conf $pkgname-keyring.service $pkgname-keyring.timer @@ -39,6 +39,7 @@ md5sums=('2a596fc8f723e99660c0869a74afcf47' 'e8f72afe6f417d11bd36ada042744fe4' '9c1454e48b2216b23f931e04d6dab1ee' '7279d086428df483fd60c33f7c88cf3e' + '9c1454e48b2216b23f931e04d6dab1ee' 'ce525a9af50f1d9b824806d2e5a4f0c8' '11a5fac02651041e44d65d66c3538030' '7fb448e0d2b5b22da5ddc0040378efb0' @@ -90,6 +91,11 @@ package() { mychost="x86_64-unknown-linux-gnu" myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" ;; + armv7h) + mycarch="armv7h" + mychost="armv7l-unknown-linux-gnueabihf" + myflags="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" + ;; esac myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" |