aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/drop-check-glibc-symbols.patch
diff options
context:
space:
mode:
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