aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/armhf-reduce-linker-memory-use.patch
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-12-20 20:49:13 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-12-20 20:49:13 +0100
commitfc47e34c8bdb1f1b1190df9b7d24ae328828fdeb (patch)
treef998795975f0d831475a98a5add4651a2216fc00 /deb_patches/armhf-reduce-linker-memory-use.patch
parentworkaround for build issue with rust 1.48.0 (diff)
downloadlibrewolf-linux-fc47e34c8bdb1f1b1190df9b7d24ae328828fdeb.tar.gz
librewolf-linux-fc47e34c8bdb1f1b1190df9b7d24ae328828fdeb.tar.bz2
librewolf-linux-fc47e34c8bdb1f1b1190df9b7d24ae328828fdeb.zip
v84.0-1
Diffstat (limited to 'deb_patches/armhf-reduce-linker-memory-use.patch')
-rw-r--r--deb_patches/armhf-reduce-linker-memory-use.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/deb_patches/armhf-reduce-linker-memory-use.patch b/deb_patches/armhf-reduce-linker-memory-use.patch
index 6449227..24b3a35 100644
--- a/deb_patches/armhf-reduce-linker-memory-use.patch
+++ b/deb_patches/armhf-reduce-linker-memory-use.patch
@@ -6,7 +6,7 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -2056,15 +2056,16 @@ def select_linker(linker, c_compiler, de
- set_config('LINKER_KIND', select_linker.KIND)
+ set_config("LINKER_KIND", select_linker.KIND)
-@depends_if(select_linker, macos_sdk)
@@ -15,13 +15,13 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
+def linker_ldflags(linker, macos_sdk, host):
flags = list((linker and linker.LINKER_FLAG) or [])
if macos_sdk:
- if linker and linker.KIND == 'ld64':
- flags.append('-Wl,-syslibroot,%s' % macos_sdk)
+ if linker and linker.KIND == "ld64":
+ flags.append("-Wl,-syslibroot,%s" % macos_sdk)
else:
- flags.append('-Wl,--sysroot=%s' % macos_sdk)
+ flags.append("-Wl,--sysroot=%s" % macos_sdk)
-
-+ elif host.cpu == 'arm':
-+ flags.append('-Wl,--no-keep-memory')
++ elif host.cpu == "arm":
++ flags.append("-Wl,--no-keep-memory")
return flags
bgstack15