[arch-commits] Commit in lib32-libaio/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed May 2 16:52:13 UTC 2018
Date: Wednesday, May 2, 2018 @ 16:52:12
Author: alucryd
Revision: 318672
upgpkg: lib32-libaio 0.3.111-1
Modified:
lib32-libaio/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-02 16:50:31 UTC (rev 318671)
+++ PKGBUILD 2018-05-02 16:52:12 UTC (rev 318672)
@@ -1,34 +1,32 @@
# $Id$
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor : josephgbr <rafael.f.f1 at gmail.com>
-# Contributor : angvp <angvp at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: angvp <angvp at archlinux.org>
pkgname=lib32-libaio
-pkgver=0.3.110
+pkgver=0.3.111
pkgrel=1
pkgdesc='The Linux-native asynchronous I/O facility (aio) library'
arch=('x86_64')
url='http://lse.sourceforge.net/io/aio.html'
license=('LGPL')
-depends=("libaio=${pkgver}")
-makedepends=('gcc-multilib')
+depends=('libaio')
source=("http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_${pkgver}.orig.tar.gz")
-sha256sums=('e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e')
+sha256sums=('62cf871ad8fd09eb3418f00aca7a7d449299b8e1de31c65f28bf6a2ef1fa502a')
build() {
- cd libaio-${pkgver}
-
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- export CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe'
- make
+ # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib
+ # and other helpers like stack protection libraries
+ export CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-stack-protector -fno-plt'
+
+ make -C libaio-${pkgver}
}
package() {
- cd libaio-${pkgver}
-
- make prefix="${pkgdir}"/usr libdir="${pkgdir}"/usr/lib32 install
+ make -C libaio-${pkgver} prefix="${pkgdir}"/usr libdir="${pkgdir}"/usr/lib32 install
rm -rf "${pkgdir}"/usr/include
}
More information about the arch-commits
mailing list