diff options
author | QBos07 <62326551+QBos07@users.noreply.github.com> | 2021-07-12 20:52:35 +0200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-07-18 19:33:48 +1200 |
commit | 62b5971abeb3298c30667317179855cb45ca5448 (patch) | |
tree | 4f3cce32d723351bd0566de64114aff0f6497bf9 /scripts | |
parent | 3782373c8c6d83a522fe1bf8023434639c9b747d (diff) | |
download | crosstool-ng-62b5971abeb3298c30667317179855cb45ca5448.tar.gz crosstool-ng-62b5971abeb3298c30667317179855cb45ca5448.tar.bz2 crosstool-ng-62b5971abeb3298c30667317179855cb45ca5448.zip |
Disable source-highlighting for static build
Fixes #1487
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index e6eec2a3..75c683d9 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -230,10 +230,16 @@ do_gdb_backend() if [ "${static}" = "y" ]; then cflags+=" -static" ldflags+=" -static" + # There is no static libsource-highlight + extra_config+=("--disable-source-highlight") fi if [ "${static_libstdcxx}" = "y" ]; then ldflags+=" -static-libgcc" ldflags+=" -static-libstdc++" + # libsource-highlight is a dynamic library that uses exception + # exceptions are handled by libstdc++ + # this combination is very buggy, so configure don't use it and abort + extra_config+=("--disable-source-highlight") fi |