diff options
author | Stephanos Ioannidis <root@stephanos.io> | 2020-05-26 16:25:20 +0900 |
---|---|---|
committer | Stephanos Ioannidis <root@stephanos.io> | 2020-05-26 16:25:20 +0900 |
commit | b07da3bb695366e3fbac27e7710f061d7362e0cd (patch) | |
tree | 6777b5754d56f4705c5a61a12ea9a8d0169ddb5c /scripts/build/debug | |
parent | 5659366bf62b5555bf914b5f55e8a01c92d6c6f1 (diff) | |
download | crosstool-ng-b07da3bb695366e3fbac27e7710f061d7362e0cd.tar.gz crosstool-ng-b07da3bb695366e3fbac27e7710f061d7362e0cd.tar.bz2 crosstool-ng-b07da3bb695366e3fbac27e7710f061d7362e0cd.zip |
Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX reference
This commit fixes an incorrect reference to the configuration
`CT_GDB_NATIVE_STATIC_LIBSTDCXX` in the GDB build script.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Diffstat (limited to 'scripts/build/debug')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 91393317..16e58feb 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -146,7 +146,7 @@ do_debug_gdb_build() cflags="${CT_ALL_TARGET_CFLAGS}" \ ldflags="${CT_ALL_TARGET_LDFLAGS}" \ static="${CT_GDB_NATIVE_STATIC}" \ - static_libstdc="${CT_GDB_NATIVE_STATIC_LIBSTDC}" \ + static_libstdcxx="${CT_GDB_NATIVE_STATIC_LIBSTDCXX}" \ prefix=/usr \ destdir="${CT_DEBUGROOT_DIR}" \ "${native_extra_config[@]}" @@ -236,7 +236,7 @@ do_gdb_backend() cflags+=" -static" ldflags+=" -static" fi - if [ "${static_libstdc}" = "y" ]; then + if [ "${static_libstdcxx}" = "y" ]; then ldflags+=" -static-libstdc++" fi |