diff options
author | Stephanos Ioannidis <root@stephanos.io> | 2020-05-26 16:34:31 +0900 |
---|---|---|
committer | Stephanos Ioannidis <root@stephanos.io> | 2020-05-26 16:34:31 +0900 |
commit | 041427aec949a933cba415de9ae7fac29f7a7682 (patch) | |
tree | 84432973d424c72db49f29b8073c168cd833d515 /packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch | |
parent | b07da3bb695366e3fbac27e7710f061d7362e0cd (diff) | |
download | crosstool-ng-041427aec949a933cba415de9ae7fac29f7a7682.tar.gz crosstool-ng-041427aec949a933cba415de9ae7fac29f7a7682.tar.bz2 crosstool-ng-041427aec949a933cba415de9ae7fac29f7a7682.zip |
Enable static libgcc when CT_GDB_NATIVE_STATIC_LIBSTDCXX is set
This commit updates the GDB build script to specify `-static-libgcc`
when `CT_GDB_NATIVE_STATIC_LIBSTDCXX` is enabled. Both libgcc and
libstdc++ are considered to be part of the "standard libraries," and
should be specified by the same flag (the configuration symbol could
potentially use a better name and/or further indirection).
This also semantically aligns the `CT_GDB_NATIVE_STATIC_LIBSTDCXX`
with the equivalent GCC configuration `CT_CC_GCC_STATIC_LIBSTDCXX`,
which also enables static linking of both libgcc and libstdc++.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Diffstat (limited to 'packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch')
0 files changed, 0 insertions, 0 deletions