pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/spidermonkey52
Module Name: pkgsrc
Committed By: maya
Date: Sun May 20 17:45:52 UTC 2018
Modified Files:
pkgsrc/lang/spidermonkey52: Makefile
Log Message:
spidermonkey52: force pass -march=i586 on x86_32.
This fixes a build failure for netbsd/i386, which defaults for -march=i486,
and thus lacks 8 byte atomics required by this package.
Reported & tested by Riccardo Mottola on current-users.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/spidermonkey52/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/spidermonkey52/Makefile
diff -u pkgsrc/lang/spidermonkey52/Makefile:1.4 pkgsrc/lang/spidermonkey52/Makefile:1.5
--- pkgsrc/lang/spidermonkey52/Makefile:1.4 Wed May 16 11:36:36 2018
+++ pkgsrc/lang/spidermonkey52/Makefile Sun May 20 17:45:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/05/16 11:36:36 youri Exp $
+# $NetBSD: Makefile,v 1.5 2018/05/20 17:45:52 maya Exp $
DISTNAME= mozjs-52.7.4
PKGREVISION= 1
@@ -33,6 +33,11 @@ PKGCONFIG_OVERRIDE+= js/src/js.pc.in
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
Home |
Main Index |
Thread Index |
Old Index