toolchain/gdb: export ZSTD_CFLAGS/LIBS to fix build on non-linux systems

Avoids picking up libs and header files from musl

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2023-11-12 22:20:41 +01:00
parent 493f7f5eee
commit 66dfbca262
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/toolchain-build.mk
export ZSTD_CFLAGS=-I$(STAGING_DIR_HOST)/include
export ZSTD_LIBS=-L$(STAGING_DIR_HOST)/lib -lzstd
HOST_CONFIGURE_VARS += \
acx_cv_cc_gcc_supports_ada=false \
gdb_cv_func_sigsetjmp=yes