summaryrefslogtreecommitdiff
path: root/waterfox/debian/patches/dont-statically-link-libstdc++.patch
blob: 67a6f8cfe41b7de5b570f34c7344ba0f6e398d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 525b8dd9143d406290eb61bedbf87b9c03137476 Mon Sep 17 00:00:00 2001
From: hawkeye116477 <hawkeye116477@gmail.com>
Date: Sat, 16 Jun 2018 16:02:26 +0200
Subject: Don't statically link libstdc++

---
 js/src/old-configure.in | 2 +-
 old-configure.in        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index 70b6a7dc7af9..98d93f8d900e 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -614,7 +614,7 @@ case "$target" in
         fi
         if test "$CLANG_CC"; then
            MOZ_OPTIMIZE_FLAGS="-O3"
-           CXXFLAGS="$CXXFLAGS -static-libstdc++"
+           CXXFLAGS="$CXXFLAGS"
            CFLAGS="$CFLAGS"
         fi
     fi
diff --git a/old-configure.in b/old-configure.in
index 978ba7af7211..e750fbb537ec 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -839,7 +839,7 @@ case "$target" in
         fi
         if test "$CLANG_CC"; then
            MOZ_OPTIMIZE_FLAGS="-O3"
-           CXXFLAGS="$CXXFLAGS -static-libstdc++"
+           CXXFLAGS="$CXXFLAGS"
            CFLAGS="$CFLAGS"
         fi
     fi
-- 
2.17.1
bgstack15