aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/armhf-reduce-linker-memory-use.patch
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-08-27 10:03:03 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-08-27 10:03:03 +0200
commitb9fd2f527605d3252a87b1f57346a7cc51089d63 (patch)
treebeeb427909da70e39f4370c280dc85ceebf3cf97 /deb_patches/armhf-reduce-linker-memory-use.patch
parentadd pcsc socket for smartcard access with flatpak (diff)
downloadlibrewolf-linux-b9fd2f527605d3252a87b1f57346a7cc51089d63.tar.gz
librewolf-linux-b9fd2f527605d3252a87b1f57346a7cc51089d63.tar.bz2
librewolf-linux-b9fd2f527605d3252a87b1f57346a7cc51089d63.zip
v80.0.1
Diffstat (limited to 'deb_patches/armhf-reduce-linker-memory-use.patch')
-rw-r--r--deb_patches/armhf-reduce-linker-memory-use.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/deb_patches/armhf-reduce-linker-memory-use.patch b/deb_patches/armhf-reduce-linker-memory-use.patch
index 3f20011..6449227 100644
--- a/deb_patches/armhf-reduce-linker-memory-use.patch
+++ b/deb_patches/armhf-reduce-linker-memory-use.patch
@@ -13,9 +13,9 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
-def linker_ldflags(linker, macos_sdk):
+@depends_if(select_linker, macos_sdk, host)
+def linker_ldflags(linker, macos_sdk, host):
- flags = list(linker.LINKER_FLAG or [])
+ flags = list((linker and linker.LINKER_FLAG) or [])
if macos_sdk:
- if linker.KIND == 'ld64':
+ if linker and linker.KIND == 'ld64':
flags.append('-Wl,-syslibroot,%s' % macos_sdk)
else:
flags.append('-Wl,--sysroot=%s' % macos_sdk)
bgstack15