mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> Message-Id: <CACgzC7Bn+WpbgDruNeZ4s1z0x1deF6n4YyS22Dy7p_d1fFDVCA@mail.gmail.com> PatchWork-Id: 191042
This commit is contained in:
parent
f6eeea1881
commit
5094e8bc0a
@ -143,6 +143,9 @@ do_debug_gdb_build() {
|
||||
cross_extra_config+=("--with-expat=no")
|
||||
fi
|
||||
|
||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
|
||||
cross_extra_config+=("--disable-nls")
|
||||
|
||||
gdb_cross_configure="${gdb_src_dir}/configure"
|
||||
|
||||
CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"
|
||||
@ -299,6 +302,9 @@ do_debug_gdb_build() {
|
||||
*) native_extra_config+=("--enable-threads");;
|
||||
esac
|
||||
|
||||
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
|
||||
native_extra_config+=("--disable-nls")
|
||||
|
||||
if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
|
||||
CC_for_gdb="${CT_TARGET}-gcc -static"
|
||||
LD_for_gdb="${CT_TARGET}-ld -static"
|
||||
|
Loading…
Reference in New Issue
Block a user