mirror of
				https://github.com/openwrt/openwrt.git
				synced 2025-10-30 07:49:23 +08:00 
			
		
		
		
	toolchain/binutils: export ZSTD_CFLAGS/LIBS to fix non-Linux build
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:
		 Mark Mentovai
					Mark Mentovai
				
			
				
					committed by
					
						 Robert Marko
						Robert Marko
					
				
			
			
				
	
			
			
			 Robert Marko
						Robert Marko
					
				
			
						parent
						
							5b3c823589
						
					
				
				
					commit
					3b54f821d0
				
			| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user