pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/abseil asks for gcc-12 ((Re: NetBSD/9.4
I just built abseil on netbsd 9 i386 with
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/abseil/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile 31 Jan 2026 21:16:04 -0000 1.38
+++ Makefile 31 Jan 2026 21:39:20 -0000
@@ -20,6 +20,9 @@ USE_CXX_FEATURES= c++17
# which is forced by the pkgsrc build). Thus, try to make the
# compiler be c++17 only, and not accept c++20.
FORCE_CXX_STD= c++17
+# gcc7 fails "expression '<lambda>' is not a constant expression"
+GCC_REQD+= 10
+
CMAKE_CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=ON
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index