diff options
author | Norbert Lange <nolange79@gmail.com> | 2019-10-28 10:24:57 +0100 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-02-23 20:21:16 +1300 |
commit | ad3996a483b40e428bc88568ca56944e28efeeaf (patch) | |
tree | 8d9c08386877330c4a2f3954ace51e82d31a24e5 /scripts | |
parent | 2a856608e107784a88561d0399db82c9aabd76fd (diff) | |
download | crosstool-ng-ad3996a483b40e428bc88568ca56944e28efeeaf.tar.gz crosstool-ng-ad3996a483b40e428bc88568ca56944e28efeeaf.tar.bz2 crosstool-ng-ad3996a483b40e428bc88568ca56944e28efeeaf.zip |
gcc: add gcc libstdcxx-verbose option
Rather important option for arm cortex toolchains supporting c++,
avoids pulling in all printf/iostream code by default.
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/cc/gcc.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 9623d6ca..0f369a47 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -375,6 +375,11 @@ do_gcc_core_backend() { extra_config+=(--disable-libquadmath-support) fi + case "${CT_CC_GCC_LIBSTDCXX_VERBOSE}" in + y) extra_config+=("--enable-libstdcxx-verbose");; + "") extra_config+=("--disable-libstdcxx-verbose");; + esac + if [ "${build_libstdcxx}" = "no" ]; then extra_config+=(--disable-libstdcxx) fi @@ -1010,6 +1015,11 @@ do_gcc_backend() { fi fi + case "${CT_CC_GCC_LIBSTDCXX_VERBOSE}" in + y) extra_config+=("--enable-libstdcxx-verbose");; + "") extra_config+=("--disable-libstdcxx-verbose");; + esac + if [ "${build_libstdcxx}" = "no" ]; then extra_config+=(--disable-libstdcxx) fi |