mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
tools/squashfs: use host cflags
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 20d363aed3
)
This commit is contained in:
parent
7fa70027d4
commit
1aedf2f149
@ -21,6 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk
|
|||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
||||||
CC="$(HOSTCC)" \
|
CC="$(HOSTCC)" \
|
||||||
|
CFLAGS="$(HOST_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I." \
|
||||||
CXX="$(CXX)" \
|
CXX="$(CXX)" \
|
||||||
LZMAPATH=$(STAGING_DIR_HOST)/lib \
|
LZMAPATH=$(STAGING_DIR_HOST)/lib \
|
||||||
mksquashfs-lzma unsquashfs-lzma
|
mksquashfs-lzma unsquashfs-lzma
|
||||||
|
Loading…
Reference in New Issue
Block a user