mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-11 05:09:56 +00:00
parent
3782373c8c
commit
62b5971abe
@ -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…
x
Reference in New Issue
Block a user