Skip to content

Commit

Permalink
tools/squashfs: use host cflags
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 20d363a)
  • Loading branch information
nbd168 authored and jow- committed Dec 13, 2017
1 parent 7fa7002 commit 1aedf2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/squashfs/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 1aedf2f

Please sign in to comment.