Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/grpc grpc: needs 64-bit atomic ops
details: https://anonhg.NetBSD.org/pkgsrc/rev/261b98b79f09
branches: trunk
changeset: 434229:261b98b79f09
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jun 13 11:26:31 2020 +0000
description:
grpc: needs 64-bit atomic ops
diffstat:
net/grpc/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 8ad7437900d6 -r 261b98b79f09 net/grpc/Makefile
--- a/net/grpc/Makefile Sat Jun 13 11:21:29 2020 +0000
+++ b/net/grpc/Makefile Sat Jun 13 11:26:31 2020 +0000
@@ -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_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