diff options
Diffstat (limited to '0028-Bug-1796523-Workaround-source-locations-for-function.patch')
-rw-r--r-- | 0028-Bug-1796523-Workaround-source-locations-for-function.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0028-Bug-1796523-Workaround-source-locations-for-function.patch b/0028-Bug-1796523-Workaround-source-locations-for-function.patch new file mode 100644 index 000000000000..98dfd8bf4e64 --- /dev/null +++ b/0028-Bug-1796523-Workaround-source-locations-for-function.patch @@ -0,0 +1,29 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= <bjorn.bidar@jolla.com> +Date: Mon, 7 Aug 2023 10:20:06 +0300 +Subject: [PATCH] Bug 1796523 Workaround source locations for function have + changed with GCC +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +https://bugzilla.mozilla.org/show_bug.cgi?id=1796523 + +Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com> +--- + build/moz.configure/lto-pgo.configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/moz.configure/lto-pgo.configure b/build/moz.configure/lto-pgo.configure +index ae49c78df9bb0c0872984865679dab6e88d68ef8..76e275c65062ba30be4f7a45ca74c61c2ed66de7 100644 +--- a/build/moz.configure/lto-pgo.configure ++++ b/build/moz.configure/lto-pgo.configure +@@ -130,7 +130,7 @@ def pgo_flags( + return namespace( + gen_cflags=["-fprofile-generate"], + gen_ldflags=["-fprofile-generate"], +- use_cflags=[profile_use, "-fprofile-correction", "-Wcoverage-mismatch"], ++ use_cflags=[profile_use, "-fprofile-correction", "-Wno-coverage-mismatch"], + use_ldflags=[profile_use], + ) + |