Source-Changes-HG archive

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

[pkgsrc/pkgsrc-2020Q1]: pkgsrc/net/grpc Pullup ticket #6238 - requested by nia



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f48bc09d71d
branches:  pkgsrc-2020Q1
changeset: 434496:8f48bc09d71d
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Jun 17 11:55:08 2020 +0000

description:
Pullup ticket #6238 - requested by nia
net/grpc: i386 build fix

Revisions pulled up:
- net/grpc/Makefile                                             1.26

---
   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

diffstat:

 net/grpc/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r bdf147f19ed3 -r 8f48bc09d71d net/grpc/Makefile
--- a/net/grpc/Makefile Wed Jun 17 11:46:56 2020 +0000
+++ b/net/grpc/Makefile Wed Jun 17 11:55:08 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/03/15 22:27:52 adam Exp $
+# $NetBSD: Makefile,v 1.23.2.1 2020/06/17 11:55:08 bsiegert Exp $
 
 DISTNAME=      grpc-1.27.3
 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