summarylogtreecommitdiffstats
path: root/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch
diff options
context:
space:
mode:
authorBjörn Bidar2023-03-23 23:23:11 +0200
committerBjörn Bidar2023-03-23 23:43:53 +0200
commita4ae66b6b28607dd7bec51cae73300552ec8fafd (patch)
tree1e9b32b65ea282f4a3e7693dc165d6c9db6a33cf /0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch
parent61abbb0481681a0894d4c1b98f685dcada8ab2e8 (diff)
downloadaur-a4ae66b6b28607dd7bec51cae73300552ec8fafd.tar.gz
Update to 111.0-1
- New upstream release - Use tarball instead of hg sources - Restructure patching process - All patches are checked into git and then applied on top of the existing Mozilla sources. Doing so allows rebasing of patches to be done by a simple git rebase, all patches cherry-picked from upstream are then automatically excluded upon updating. - Rebase patch-set based on OpenSUSE patches, updates to the package will be faster this way. - The sources can be found here: https://github.com/Thaodan/gecko-dev The branches are split of from the mozilla 'release' branch that is set to the latest release version into release/$major.$minor.x and then the thaodan/release/$major.$minor.x branch is rebased upon that. - Remove other obsolete patches - Drop obsolete kde.js, it was removed in the OpenSUSE patches long ago, is redundant and doesn't function anymore. boo#1151186 https://bugzilla.opensuse.org/show_bug.cgi?id=1151186 Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
Diffstat (limited to '0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch')
-rw-r--r--0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch b/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch
deleted file mode 100644
index dd173fb14324..000000000000
--- a/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 3e2964adcd0b04dd72a5c0a1d6ad8e1680e6a429 Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann <whissi@gentoo.org>
-Date: Sat, 29 Aug 2020 22:30:59 +0200
-Subject: [PATCH 27/34] LTO: Only enable LTO for Rust when complete build uses
- LTO
-
-Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
----
- config/makefiles/rust.mk | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/config/makefiles/rust.mk b/config/makefiles/rust.mk
-index e5a6d57ba7..1d7d80ca3f 100644
---- a/config/makefiles/rust.mk
-+++ b/config/makefiles/rust.mk
-@@ -62,6 +62,7 @@ endif
- # These flags are passed via `cargo rustc` and only apply to the final rustc
- # invocation (i.e., only the top-level crate, not its dependencies).
- cargo_rustc_flags = $(CARGO_RUSTCFLAGS)
-+ifdef MOZ_LTO
- ifndef DEVELOPER_OPTIONS
- ifndef MOZ_DEBUG_RUST
- # Enable link-time optimization for release builds, but not when linking
-@@ -75,6 +76,7 @@ RUSTFLAGS += -Cembed-bitcode=yes
- endif
- endif
- endif
-+endif
-
- ifdef CARGO_INCREMENTAL
- export CARGO_INCREMENTAL
---
-2.33.1
-