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

Antonio Rojas arojas at archlinux.org
Fri May 13 07:59:46 UTC 2016


    Date: Friday, May 13, 2016 @ 09:59:46
  Author: arojas
Revision: 175133

Use gnu c++ extensions, should fix tests with GCC 6

Modified:
  mongodb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-13 07:53:04 UTC (rev 175132)
+++ PKGBUILD	2016-05-13 07:59:46 UTC (rev 175133)
@@ -52,6 +52,8 @@
 prepare() {
   cd mongodb-src-r${pkgver}
   patch -Np1 -i ../boost160.patch
+
+  sed -e 's|-std=c++11|-std=gnu++11|g' -i SConstruct  # tests use hex floats, not supported in plain C++
 }
 
 build() {



More information about the arch-commits mailing list