mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
toolchain/gdb: add pthread to CFLAGS/LDFLAGS for zstd
Works around a build issue when building on a host with an older glibc, where it would fail to detect ELF support in libbfd Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
6d546b3b4c
commit
2872ff7be1
@ -22,8 +22,8 @@ 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
|
||||
export ZSTD_CFLAGS=-I$(STAGING_DIR_HOST)/include -pthread
|
||||
export ZSTD_LIBS=-L$(STAGING_DIR_HOST)/lib -lzstd -lpthread
|
||||
|
||||
HOST_CONFIGURE_VARS += \
|
||||
acx_cv_cc_gcc_supports_ada=false \
|
||||
|
Loading…
Reference in New Issue
Block a user