diff options
author | Chris Johns <chrisj@rtems.org> | 2015-11-12 17:48:45 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-11-12 17:48:45 +1100 |
commit | ab922fec9c2ce403d870120b5afcc108f06f4aea (patch) | |
tree | 2b5bfab12c42a42c4ee2c981494f0bb7b4053b4a /tools/4.12/gdb/patch-gdb-python-python-config.py | |
parent | rtd-rtems.cpp: Default to version 4.12 (diff) | |
download | rtems-tools-ab922fec9c2ce403d870120b5afcc108f06f4aea.tar.bz2 |
Add tools patches for RTEMS 4.12.
Diffstat (limited to 'tools/4.12/gdb/patch-gdb-python-python-config.py')
-rw-r--r-- | tools/4.12/gdb/patch-gdb-python-python-config.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/4.12/gdb/patch-gdb-python-python-config.py b/tools/4.12/gdb/patch-gdb-python-python-config.py new file mode 100644 index 0000000..2433240 --- /dev/null +++ b/tools/4.12/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: |