Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mozjs60 mozjs60: help i386 builders which don't a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a517b7bc98b3
branches:  trunk
changeset: 430366:a517b7bc98b3
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Apr 30 11:47:45 2020 +0000

description:
mozjs60: help i386 builders which don't assume i586/have libatomic.

diffstat:

 lang/mozjs60/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b367d3f03e9b -r a517b7bc98b3 lang/mozjs60/Makefile
--- a/lang/mozjs60/Makefile     Thu Apr 30 11:43:27 2020 +0000
+++ b/lang/mozjs60/Makefile     Thu Apr 30 11:47:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/04/23 08:32:55 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2020/04/30 11:47:45 maya Exp $
 
 DISTNAME=      mozjs60_60.8.0.orig
 PKGNAME=       ${DISTNAME:S/_/-/:S/.orig//}
@@ -31,6 +31,10 @@
 CONFIGURE_ARGS+=       --disable-jemalloc
 CONFIGURE_ARGS+=       --disable-debug-symbols
 CONFIGURE_ARGS+=       --enable-strip
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomics.
+CXXFLAGS+=             -march=i586
+.endif
 # --with-intl-api
 # --disable-optimize
 



Home | Main Index | Thread Index | Old Index