Does this behave correctly?
(It's because spidermonkey52 is new and the person to commit it
tested amd64)

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spidermonkey52/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile    16 May 2018 11:36:36 -0000      1.4
+++ Makefile    18 May 2018 15:29:01 -0000
@@ -33,6 +33,11 @@
 PYTHON_VERSIONS_ACCEPTED=      27
 PYTHON_FOR_BUILD_ONLY=         yes
 
+.if ${MACHINE_ARCH} == "i386"
+# Needs 8 byte atomics.
+CXXFLAGS+=             -march=i586
+.endif
+
 # fails, does not find hg/git checkout
 TEST_TARGET=           check
 

Reply via email to