pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/llvm On i386, use -march=i586 for 64-bit CAS
details: https://anonhg.NetBSD.org/pkgsrc/rev/526b4f1a8dbd
branches: trunk
changeset: 356554:526b4f1a8dbd
user: gdt <gdt%pkgsrc.org@localhost>
date: Mon Jan 02 00:03:42 2017 +0000
description:
On i386, use -march=i586 for 64-bit CAS
This matches tnn's change to lang/libLLVM. No PKGREVISION; no change
on !i386 and on i386 this did not build before.
diffstat:
lang/llvm/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r c070274b4e85 -r 526b4f1a8dbd lang/llvm/Makefile
--- a/lang/llvm/Makefile Sun Jan 01 22:36:34 2017 +0000
+++ b/lang/llvm/Makefile Mon Jan 02 00:03:42 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/12/17 23:28:34 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2017/01/02 00:03:42 gdt Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@@ -92,6 +92,11 @@
# automatically.
CXXFLAGS+= -std=c++11
+# needs std::atomic with 64-bit CAS
+.if ${MACHINE_ARCH} == "i386"
+CXXFLAGS+= -march=i586
+.endif
+
.if ${OPSYS} == "Darwin"
.PHONY: fix-darwin-install-name
post-install: fix-darwin-install-name
Home |
Main Index |
Thread Index |
Old Index