pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/protobuf protobuf: fix build failure on NetBSD/i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc9f70877ecc
branches: trunk
changeset: 389258:fc9f70877ecc
user: tsutsui <tsutsui%pkgsrc.org@localhost>
date: Sun Dec 23 23:51:26 2018 +0000
description:
protobuf: fix build failure on NetBSD/i386 8.0. PR pkg/53659
Assume and specify -march=i586 for 64 bit atomic ops, as firefox does.
"Looks ok" by wiz@.
diffstat:
devel/protobuf/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r dc1c5aa26d0b -r fc9f70877ecc devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Sun Dec 23 23:29:28 2018 +0000
+++ b/devel/protobuf/Makefile Sun Dec 23 23:51:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2018/08/04 21:19:39 minskim Exp $
+# $NetBSD: Makefile,v 1.17 2018/12/23 23:51:26 tsutsui Exp $
.include "Makefile.common"
@@ -20,6 +20,11 @@
TEST_TARGET= check
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+= -march=i586
+.endif
+
pre-configure:
${RUN} cd ${WRKSRC} && ./autogen.sh
Home |
Main Index |
Thread Index |
Old Index