source: rtems-tools/tools/5/gdb/patch-gdb-python-python-config.py @ 35e6930

5
Last change on this file since 35e6930 was 35e6930, checked in by Sebastian Huber <sebastian.huber@…>, on 02/19/19 at 11:23:34

Add patch used by RTEMS 5 epiphany GDB on FreeBSD

  • Property mode set to 100644
File size: 449 bytes
Line 
1--- gdb/python/python-config.py.orig    2013-10-17 11:24:52.000000000 +0200
2+++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200
3@@ -59,6 +59,8 @@
4 
5     elif opt in ('--libs', '--ldflags'):
6         libs = []
7+        if getvar('LDFLAGS') is not None:
8+            libs.extend(getvar('LDFLAGS').split())
9         if getvar('LIBS') is not None:
10             libs.extend(getvar('LIBS').split())
11         if getvar('SYSLIBS') is not None:
Note: See TracBrowser for help on using the repository browser.