Skip to content

Commit

Permalink
toolchain/gdb: export ZSTD_CFLAGS/LIBS to fix build on non-linux systems
Browse files Browse the repository at this point in the history
Avoids picking up libs and header files from musl

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Dec 18, 2023
1 parent 493f7f5 commit 66dfbca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toolchain/gdb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66dfbca

Please sign in to comment.