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: maya
Date: Thu Dec 7 12:12:44 UTC 2017
Modified Files:
pkgsrc/lang/rust: distinfo
Added Files:
pkgsrc/lang/rust/patches: patch-src_bootstrap_lib.rs
Log Message:
rust: don't filter out optimization flags. improves build time.
from a commit by semarie@openbsd
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/rust/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs
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/distinfo
diff -u pkgsrc/lang/rust/distinfo:1.11 pkgsrc/lang/rust/distinfo:1.12
--- pkgsrc/lang/rust/distinfo:1.11 Tue Nov 28 00:07:27 2017
+++ pkgsrc/lang/rust/distinfo Thu Dec 7 12:12:44 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2017/11/28 00:07:27 ryoon Exp $
+$NetBSD: distinfo,v 1.12 2017/12/07 12:12:44 maya Exp $
SHA1 (rust-1.21.0-i686-apple-darwin.tar.gz) = 9e01c8800419db1de2c31dee06494194ab843b7d
RMD160 (rust-1.21.0-i686-apple-darwin.tar.gz) = 0f5f73fb5dfca510afd9acaf755893901a3180ca
@@ -53,6 +53,7 @@ RMD160 (rustc-1.22.1-src.tar.gz) = 1b2a3
SHA512 (rustc-1.22.1-src.tar.gz) = cb1f0f5643c5244225255030bef974eb8d642c9a9f04d3a1ba44157b3848ca2ee0c1b96160c19e6e0e110d0065836f99936f00678690840aa8f34e22ecece874
Size (rustc-1.22.1-src.tar.gz) = 54935620 bytes
SHA1 (patch-src_bootstrap_bin_rustc.rs) = 617cc7ae52d92fdf80af0aff169c17a9cec4d67c
+SHA1 (patch-src_bootstrap_lib.rs) = b69068545d489b448705c79f854e2f73bda53b1e
SHA1 (patch-src_libbacktrace_configure) = b2c1e9b93a99408aad42ab9f1af27704cc81bdd8
SHA1 (patch-src_libstd_build.rs) = 32dad8a474300f9f37bce8b92acca762cf8cc4ab
SHA1 (patch-src_llvm_cmake_modules_AddLLVM.cmake) = 282d97cce8d01cfefe565185d4999c2db9ccc13f
Added files:
Index: pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs
diff -u /dev/null pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs:1.1
--- /dev/null Thu Dec 7 12:12:44 2017
+++ pkgsrc/lang/rust/patches/patch-src_bootstrap_lib.rs Thu Dec 7 12:12:44 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_bootstrap_lib.rs,v 1.1 2017/12/07 12:12:44 maya Exp $
+
+Don't filter out optimization flags.
+
+--- src/bootstrap/lib.rs.orig 2017-11-22 21:33:00.000000000 +0000
++++ src/bootstrap/lib.rs
+@@ -622,7 +622,6 @@ impl Build {
+ // cc-rs because the build scripts will determine that for themselves.
+ let mut base = self.cc[&target].0.args().iter()
+ .map(|s| s.to_string_lossy().into_owned())
+- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O"))
+ .collect::<Vec<_>>();
+
+ // If we're compiling on macOS then we add a few unconditional flags
Home |
Main Index |
Thread Index |
Old Index