aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/drop-check-glibc-symbols.patch
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-29 18:37:23 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-30 00:26:30 +0200
commit85f55868f631d67e5a4ab190f69e919f38be57f8 (patch)
tree4b91a6ed7ef90064c835403d5e1af952f8bff43b /deb_patches/drop-check-glibc-symbols.patch
parentre-introduce profiling (diff)
downloadlibrewolf-linux-85f55868f631d67e5a4ab190f69e919f38be57f8.tar.gz
librewolf-linux-85f55868f631d67e5a4ab190f69e919f38be57f8.tar.bz2
librewolf-linux-85f55868f631d67e5a4ab190f69e919f38be57f8.zip
Disable PGO for deb/ubuntu, because everything is horrible.
Also: Grab dependencies, patches and further config options from ubuntu upstream build sources. Builds statically against a mozilla-gcc-7/libstdc++7. Let's hope this works for Appimages and Flatpaks as well, "everywhere".
Diffstat (limited to 'deb_patches/drop-check-glibc-symbols.patch')
-rw-r--r--deb_patches/drop-check-glibc-symbols.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/deb_patches/drop-check-glibc-symbols.patch b/deb_patches/drop-check-glibc-symbols.patch
new file mode 100644
index 0000000..98cbf92
--- /dev/null
+++ b/deb_patches/drop-check-glibc-symbols.patch
@@ -0,0 +1,19 @@
+Description: Drop the glibc and stdcxx checks.
+ We're not compiling Firefox to run on a different version.
+Author: Chris Coulson <chris.coulson@canonical.com>
+Author: Olivier Tilloy <olivier.tilloy@canonical.com>
+Forwarded: not-needed
+
+--- a/python/mozbuild/mozbuild/action/check_binary.py
++++ b/python/mozbuild/mozbuild/action/check_binary.py
+@@ -296,9 +296,7 @@ def checks(target, binary):
+ target = HOST
+ checks = []
+ if target['MOZ_LIBSTDCXX_VERSION']:
+- checks.append(check_stdcxx)
+ checks.append(check_libgcc)
+- checks.append(check_glibc)
+
+ # Disabled for local builds because of readelf performance: See bug 1472496
+ if not buildconfig.substs.get('DEVELOPER_OPTIONS'):
+
bgstack15