binutils,gdb: fix enabling zstd compression

Signed-off-by: Szymon Sobik <sobik.szymon@gmail.com>
This commit is contained in:
Szymon Sobik 2024-04-19 16:07:12 +02:00 committed by Chris Packham
parent 71cfd2d094
commit 66d801f128
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ do_binutils_backend() {
[ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
if [ "${CT_COMP_LIBS_ZSTD}}" = "y" ]; then
if [ "${CT_COMP_LIBS_ZSTD}" = "y" ]; then
extra_config+=("--with-zstd=${complibs}")
else
extra_config+=("--without-zstd")

View File

@ -147,7 +147,7 @@ do_debug_gdb_build()
native_extra_config+=("--disable-inprocess-agent")
fi
if [ "${CT_COMP_LIBS_ZSTD}}" = "y" ]; then
if [ "${CT_COMP_LIBS_ZSTD}" = "y" ]; then
native_extra_config+=("--with-zstd=${complibs}")
else
native_extra_config+=("--without-zstd")