From: Felix Fietkau Date: Tue, 24 Oct 2017 11:22:09 +0000 (+0200) Subject: tools/squashfs: use host cflags X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=20d363aed395e07ff42fe648f898b17f2077cc82;p=openwrt%2Fstaging%2Fblogic.git tools/squashfs: use host cflags Signed-off-by: Felix Fietkau --- diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile index 27adca1d7f4a..87f6e8fd9931 100644 --- a/tools/squashfs/Makefile +++ b/tools/squashfs/Makefile @@ -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