pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Nov 14 18:16:16 UTC 2020

Modified Files:
        pkgsrc/lang/rust: Makefile

Log Message:
The patch which caused LLVM not to require 64-bit atomics is no more,
so now we need -latomic on powerpc.


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.206 pkgsrc/lang/rust/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/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.205 pkgsrc/lang/rust/Makefile:1.206
--- pkgsrc/lang/rust/Makefile:1.205     Sat Nov 14 12:44:02 2020
+++ pkgsrc/lang/rust/Makefile   Sat Nov 14 18:16:16 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.205 2020/11/14 12:44:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.206 2020/11/14 18:16:16 he Exp $
 
 DISTNAME=      rustc-1.47.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -504,6 +504,11 @@ stage0-bootstrap: install
 DEPENDS+=      compat80>=0:../../emulators/compat80
 .endif
 
+.if (${MACHINE_ARCH} == "powerpc")
+# LLVM needs libatomic for 64-bit atomics on powerpc
+.include "../../devel/libatomic/buildlink3.mk"
+.endif
+
 .if (${OPSYS} == "NetBSD") && \
                ((${MACHINE_ARCH} == "i386")) \
        && (empty(OS_VERSION:M[012345678].*) || \



Home | Main Index | Thread Index | Old Index