pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/grpc



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 13 11:26:31 UTC 2020

Modified Files:
        pkgsrc/net/grpc: Makefile

Log Message:
grpc: needs 64-bit atomic ops


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/net/grpc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/grpc/Makefile
diff -u pkgsrc/net/grpc/Makefile:1.25 pkgsrc/net/grpc/Makefile:1.26
--- pkgsrc/net/grpc/Makefile:1.25       Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/grpc/Makefile    Sat Jun 13 11:26:31 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/06/03 09:28:53 adam Exp $
+# $NetBSD: Makefile,v 1.26 2020/06/13 11:26:31 nia Exp $
 
 DISTNAME=      grpc-1.29.1
 CATEGORIES=    net
@@ -24,6 +24,14 @@ CMAKE_ARGS+= -DgRPC_PROTOBUF_PROVIDER=pa
 CMAKE_ARGS+=   -DgRPC_SSL_PROVIDER=package
 CMAKE_ARGS+=   -DgRPC_ZLIB_PROVIDER=package
 
+.include "../../mk/bsd.prefs.mk"
+
+# 64 bit atomic ops are required
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+=               -march=i586
+CXXFLAGS+=             -march=i586
+.endif
+
 .include "../../benchmarks/google-benchmark/buildlink3.mk"
 .include "../../devel/abseil/buildlink3.mk"
 .include "../../devel/gflags/buildlink3.mk"



Home | Main Index | Thread Index | Old Index