diff options
author | Alexey Neyman <stilor@att.net> | 2017-06-17 20:53:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-17 20:53:00 (GMT) |
commit | fae66ae34fb6fcade87abb3aa48bcdbf5fead662 (patch) | |
tree | 2c1c4e109993b21a668bbaa1b96569717b68e167 /scripts | |
parent | f36f61faf46013036f62e0ccc852645591081850 (diff) | |
parent | 50df064004cbfa92a18709be0ed5061dec7f247f (diff) |
Merge pull request #761 from nyetwurk/PR-2-nyet
Add option to build gdbserver for target that does not require libstdc++.so
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 52290f1..e5276d0 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -319,6 +319,10 @@ do_debug_gdb_build() { gdbserver_LDFLAGS=-static fi + if [ "${CT_GDB_GDBSERVER_STATIC_LIBSTDCXX}" = "y" ]; then + gdbserver_LDFLAGS+=" -static-libstdc++" + fi + gdbserver_extra_config=("${extra_config[@]}") # We may not have C++ language configured for target |