[arch-commits] Commit in ntl/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Sep 11 20:28:24 UTC 2018
Date: Tuesday, September 11, 2018 @ 20:28:23
Author: arojas
Revision: 379770
Honor CXXFLAGS and LDFLAGS
Modified:
ntl/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-11 20:18:04 UTC (rev 379769)
+++ PKGBUILD 2018-09-11 20:28:23 UTC (rev 379770)
@@ -3,7 +3,7 @@
pkgname=ntl
pkgver=11.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="A Library for doing Number Theory"
arch=(x86_64)
url="http://www.shoup.net/ntl/"
@@ -15,7 +15,8 @@
build() {
cd $pkgname-$pkgver/src
- ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=generic LDLIBS="-lpthread"
+ ./configure DEF_PREFIX=/usr SHARED=on NTL_GF2X_LIB=on NATIVE=off TUNE=x86 \
+ LIBTOOL=libtool CXXFLAGS="${CXXFLAGS}" LDFLAGS=${LDFLAGS} LDLIBS="-lpthread"
make
}
More information about the arch-commits
mailing list