aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/build-with-libstdc++-7.patch
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-06-05 17:53:19 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-06-06 21:39:06 +0200
commitac3d1cfbdbfa27a5b6ec79f937812f282bc3abff (patch)
tree7801d2161c075d1bbc7a2d8f47f2b1c7ff3e437c /deb_patches/build-with-libstdc++-7.patch
parentMake it pass desktop-file-validate (diff)
downloadlibrewolf-linux-ac3d1cfbdbfa27a5b6ec79f937812f282bc3abff.tar.gz
librewolf-linux-ac3d1cfbdbfa27a5b6ec79f937812f282bc3abff.tar.bz2
librewolf-linux-ac3d1cfbdbfa27a5b6ec79f937812f282bc3abff.zip
v77.0.1-1
Diffstat (limited to 'deb_patches/build-with-libstdc++-7.patch')
-rw-r--r--deb_patches/build-with-libstdc++-7.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/deb_patches/build-with-libstdc++-7.patch b/deb_patches/build-with-libstdc++-7.patch
index 11812d6..c1279e0 100644
--- a/deb_patches/build-with-libstdc++-7.patch
+++ b/deb_patches/build-with-libstdc++-7.patch
@@ -4,7 +4,7 @@ Bug-Ubuntu: https://launchpad.net/bugs/1856861
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
-@@ -1433,6 +1433,9 @@ set_config('_DEPEND_CFLAGS', depend_cfla
+@@ -1433,6 +1433,9 @@ set_config('_DEPEND_CFLAGS', depend_cflags(c_compiler))
set_config('_HOST_DEPEND_CFLAGS', depend_cflags(host_c_compiler))
@@ -14,10 +14,11 @@ Bug-Ubuntu: https://launchpad.net/bugs/1856861
@depends(c_compiler)
def preprocess_option(compiler):
# The uses of PREPROCESS_OPTION depend on the spacing for -o/-Fi.
-@@ -2118,6 +2121,7 @@ def linker_ldflags(linker, macos_sdk, ho
+@@ -2125,7 +2128,7 @@ def linker_ldflags(linker, macos_sdk):
+ flags.append('-Wl,-syslibroot,%s' % macos_sdk)
+ else:
flags.append('-Wl,--sysroot=%s' % macos_sdk)
- elif host.cpu == 'arm':
- flags.append('-Wl,--no-keep-memory')
+-
+ flags.append('-static-libstdc++')
return flags
bgstack15