[arch-commits] Commit in crypto++/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Sep 18 08:38:13 UTC 2016


    Date: Sunday, September 18, 2016 @ 08:38:12
  Author: arojas
Revision: 276670

Use generic compilation flags (FS#50817)

Modified:
  crypto++/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-18 07:25:30 UTC (rev 276669)
+++ PKGBUILD	2016-09-18 08:38:12 UTC (rev 276670)
@@ -8,7 +8,7 @@
 pkgname=crypto++
 pkgver=5.6.4
 _srcver=${pkgver//./}
-pkgrel=1
+pkgrel=2
 pkgdesc="A free C++ class library of cryptographic schemes"
 arch=('i686' 'x86_64')
 url="http://www.cryptopp.com/"
@@ -21,9 +21,7 @@
          'ea27f28fe0303fcaa24d83cf4a964d53')
 
 build() {
-  sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
-  export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
-  make -f GNUmakefile  
+  CXXFLAGS+=" -fPIC" make -f GNUmakefile-cross  
   make libcryptopp.so
 }
 



More information about the arch-commits mailing list