pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2016Q4]: pkgsrc/lang/llvm Pullup ticket #5176 - requested by gdt



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db97eccf038d
branches:  pkgsrc-2016Q4
changeset: 408697:db97eccf038d
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Jan 02 14:40:11 2017 +0000

description:
Pullup ticket #5176 - requested by gdt
lang/llvm: build fix

Revisions pulled up:
- lang/llvm/Makefile                                            1.11

---
   Module Name: pkgsrc
   Committed By:        gdt
   Date:                Mon Jan  2 00:03:42 UTC 2017

   Modified Files:
        pkgsrc/lang/llvm: Makefile

   Log Message:
   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 aa53232ae98d -r db97eccf038d lang/llvm/Makefile
--- a/lang/llvm/Makefile        Thu Dec 29 18:53:01 2016 +0000
+++ b/lang/llvm/Makefile        Mon Jan 02 14:40:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/12/17 23:28:34 joerg Exp $
+# $NetBSD: Makefile,v 1.10.2.1 2017/01/02 14:40:11 bsiegert 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