[rtems-tools commit] 4.10: Add FreeBSD Python patch.

Chris Johns chrisj at rtems.org
Fri Sep 2 07:01:05 UTC 2016


Module:    rtems-tools
Branch:    master
Commit:    a46a8d33fa32157f61e8fc94bd62108cb260bf1a
Changeset: http://git.rtems.org/rtems-tools/commit/?id=a46a8d33fa32157f61e8fc94bd62108cb260bf1a

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Sep  2 17:00:50 2016 +1000

4.10: Add FreeBSD Python patch.

---

 tools/4.10/gdb/patch-gdb-python-python-config.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

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:




More information about the vc mailing list