pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Dec 23 23:51:26 UTC 2018

Modified Files:
        pkgsrc/devel/protobuf: Makefile

Log Message:
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@.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/protobuf/Makefile

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

Modified files:

Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.16 pkgsrc/devel/protobuf/Makefile:1.17
--- pkgsrc/devel/protobuf/Makefile:1.16 Sat Aug  4 21:19:39 2018
+++ pkgsrc/devel/protobuf/Makefile      Sun Dec 23 23:51:26 2018
@@ -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 @@ PKGCONFIG_OVERRIDE+= protobuf.pc.in
 
 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