summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-09-02 17:00:50 +1000
committerChris Johns <chrisj@rtems.org>2016-09-02 17:00:50 +1000
commita46a8d33fa32157f61e8fc94bd62108cb260bf1a (patch)
treeba5ed5f037ab95ac53a89b104e7a744eeae0c352 /tools
parent3f17371c527ae59192da95e9ba99196289c30528 (diff)
4.10: Add FreeBSD Python patch.
Diffstat (limited to 'tools')
-rw-r--r--tools/4.10/gdb/patch-gdb-python-python-config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/4.10/gdb/patch-gdb-python-python-config.py b/tools/4.10/gdb/patch-gdb-python-python-config.py
new file mode 100644
index 0000000..2433240
--- /dev/null
+++ b/tools/4.10/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: