From 85f55868f631d67e5a4ab190f69e919f38be57f8 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Sun, 29 Mar 2020 18:37:23 +0200 Subject: 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". --- deb_patches/drop-check-glibc-symbols.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 deb_patches/drop-check-glibc-symbols.patch (limited to 'deb_patches/drop-check-glibc-symbols.patch') 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 +Author: Olivier Tilloy +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'): + -- cgit