summaryrefslogtreecommitdiffstats
path: root/patches/crosstool_gdb_allstatic.patch
blob: e8d91303917e0ef15a6090090527fa9a71968c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- scripts/build/debug/300-gdb.sh.orig	2024-11-21 21:58:11.128412307 +0100
+++ scripts/build/debug/300-gdb.sh	2024-11-21 21:59:22.628825662 +0100
@@ -348,7 +348,7 @@
 
     if [ "${static}" = "y" ]; then
         if [ "${CT_GDB_CC_LD_LIBTOOL}" = "y" ]; then
-            extra_make_flags+=("LDFLAGS=${ldflags} -all-static")
+            extra_make_flags+=("LDFLAGS=${ldflags} -static --static")
         else
             extra_make_flags+=("LDFLAGS=${ldflags} -static")
         fi