mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-23 09:56:19 +08:00
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:
parent
493f7f5eee
commit
66dfbca262
@ -22,6 +22,9 @@ HOST_BUILD_PARALLEL:=1
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/toolchain-build.mk
|
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 += \
|
HOST_CONFIGURE_VARS += \
|
||||||
acx_cv_cc_gcc_supports_ada=false \
|
acx_cv_cc_gcc_supports_ada=false \
|
||||||
gdb_cv_func_sigsetjmp=yes
|
gdb_cv_func_sigsetjmp=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user