pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/llvm



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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/llvm/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/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.10 pkgsrc/lang/llvm/Makefile:1.11
--- pkgsrc/lang/llvm/Makefile:1.10      Sat Dec 17 23:28:34 2016
+++ pkgsrc/lang/llvm/Makefile   Mon Jan  2 00:03:42 2017
@@ -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 @@ PLIST_SUBST+=        SOEXT=${SOEXT}
 # 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