summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-05 11:13:02 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-06-05 11:13:22 +0200
commitb7b19f42546b81fc691333b57659b7861c97dc6d (patch)
treefa700780eea79c627e39afd90b70f0c61d7cb46b
parentwaf: Update the check_cc tests to a newer method supported by waf. (diff)
downloadrtems-tools-b7b19f42546b81fc691333b57659b7861c97dc6d.tar.bz2
Add patch used by RTEMS 6 epiphany GDB on FreeBSD
-rw-r--r--tools/6/gdb/patch-gdb-python-python-config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/6/gdb/patch-gdb-python-python-config.py b/tools/6/gdb/patch-gdb-python-python-config.py
new file mode 100644
index 0000000..2433240
--- /dev/null
+++ b/tools/6/gdb/patch-gdb-python-python-config.py
@@ -0,0 +1,11 @@
+--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200
++++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200
+@@ -59,6 +59,8 @@
+
+ elif opt in ('--libs', '--ldflags'):
+ libs = []
++ if getvar('LDFLAGS') is not None:
++ libs.extend(getvar('LDFLAGS').split())
+ if getvar('LIBS') is not None:
+ libs.extend(getvar('LIBS').split())
+ if getvar('SYSLIBS') is not None: