From 0886145c5b380ba15c5ceea275a0fc0c2319b55c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 20 Jan 2019 19:09:29 +0100 Subject: community/rust: add i686 targets to config.toml -- thanks, jonathon! --- community/rust/PKGBUILD | 9 +++++++++ community/rust/config.toml.patch | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 community/rust/PKGBUILD create mode 100644 community/rust/config.toml.patch (limited to 'community') diff --git a/community/rust/PKGBUILD b/community/rust/PKGBUILD new file mode 100644 index 00000000..7e8ce061 --- /dev/null +++ b/community/rust/PKGBUILD @@ -0,0 +1,9 @@ +source+=(config.toml.patch) +sha256sums+=('55d59786b6a24590951688c01910ac331996fc5ea5e20f10d227db24b93b1e74') + +eval "$( + declare -f prepare | \ + sed ' + 2 a patch -p1 -i "$srcdir/config.toml.patch" + ' +)" diff --git a/community/rust/config.toml.patch b/community/rust/config.toml.patch new file mode 100644 index 00000000..f479499b --- /dev/null +++ b/community/rust/config.toml.patch @@ -0,0 +1,9 @@ +--- a/config.toml 2019-01-20 19:03:26.718067950 +0100 ++++ b/config.toml 2019-01-20 19:03:52.614834201 +0100 +@@ -25,3 +25,6 @@ + + [target.x86_64-unknown-linux-gnu] + llvm-config = "/usr/bin/llvm-config" ++ ++[target.i686-unknown-linux-gnu] ++llvm-config = "/usr/bin/llvm-config" -- cgit v1.2.3-70-g09d2