mirror of
				https://github.com/optim-enterprises-bv/openwrt-ipq.git
				synced 2025-10-31 02:08:28 +00: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:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau