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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 14:03:20 UTC 2020


    Date: Wednesday, November 11, 2020 @ 14:03:20
  Author: foutrelis
Revision: 400368

Add -Wno-error=type-limits to make check

Modified:
  protobuf/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 12:38:57 UTC (rev 400367)
+++ PKGBUILD	2020-11-11 14:03:20 UTC (rev 400368)
@@ -35,8 +35,11 @@
 
 check() {
   cd "$pkgbase-$pkgver"
-  make check
 
+  # https://bugzilla.redhat.com/show_bug.cgi?id=1838470
+  # https://github.com/protocolbuffers/protobuf/issues/7514
+  make check CXXFLAGS+=' -Wno-error=type-limits'
+
   cd python
   python setup.py test
 }


More information about the arch-commits mailing list