mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-27 23:47:19 +01:00
toolchain/binutils: export ZSTD_CFLAGS/LIBS to fix non-Linux build
Some checks failed
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Some checks failed
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
This is what66dfbca262(updated by2872ff7be1) did for toolchain/gdb, but for toolchain/binutils, following the switch to binutils-2.44 by default in854d88be8a. Signed-off-by: Mark Mentovai <mark@mentovai.com> Link: https://github.com/openwrt/openwrt/pull/19833 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
5b3c823589
commit
3b54f821d0
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ PATCH_DIR:=./patches/$(PKG_VERSION)
|
|||
|
||||
include $(INCLUDE_DIR)/toolchain-build.mk
|
||||
|
||||
export ZSTD_CFLAGS=-I$(STAGING_DIR_HOST)/include -pthread
|
||||
export ZSTD_LIBS=-L$(STAGING_DIR_HOST)/lib -lzstd -lpthread
|
||||
|
||||
ifdef CONFIG_GCC_USE_GRAPHITE
|
||||
GRAPHITE_CONFIGURE:= --with-isl=$(STAGING_DIR_HOST)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue