tools/squashfs: use host cflags
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b7ea14150f
commit
20d363aed3
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk
|
|||
define Host/Compile
|
||||
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
||||
CC="$(HOSTCC)" \
|
||||
CFLAGS="$(HOST_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I." \
|
||||
CXX="$(CXX)" \
|
||||
LZMAPATH=$(STAGING_DIR_HOST)/lib \
|
||||
mksquashfs-lzma unsquashfs-lzma
|
||||
|
|
Loading…
Reference in a new issue