mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
Merge pull request #1559 from QBos07/patch-2
Disable source-highlighting for static build
This commit is contained in:
commit
e33843744f
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user