projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3c823
)
toolchain/binutils: export ZSTD_CFLAGS/LIBS to fix non-Linux build
author
Mark Mentovai
<
[email protected]
>
Sun, 17 Aug 2025 04:41:29 +0000
(
00:41
-0400)
committer
Robert Marko
<
[email protected]
>
Fri, 22 Aug 2025 10:34:49 +0000
(12:34 +0200)
This is what
66dfbca262f4e6ebc1b4f94fb1c4482894c26d0c
(updated by
2872ff7be19cfd20c95c4cbc880c0af38f82ea15
) did for toolchain/gdb, but for
toolchain/binutils, following the switch to binutils-2.44 by default in
854d88be8ad4f26059deeb3748617ca32dfdff15
.
Signed-off-by: Mark Mentovai <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/19833
Signed-off-by: Robert Marko <
[email protected]
>
toolchain/binutils/Makefile
patch
|
blob
|
history
diff --git
a/toolchain/binutils/Makefile
b/toolchain/binutils/Makefile
index 84f12c6ad347f2f83d6b6602f0e610753e264d15..7077195e275d200141b502cf0b99153505b3abe5 100644
(file)
--- a/
toolchain/binutils/Makefile
+++ b/
toolchain/binutils/Makefile
@@
-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