summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-10-24 13:22:09 +0200
committerFelix Fietkau <nbd@nbd.name>2017-10-24 13:24:05 +0200
commit20d363aed395e07ff42fe648f898b17f2077cc82 (patch)
treedac992044197b53b523c47a97884ddc84a4309ad /tools
parentb7ea14150f767caaf443fdb84f87ddf6e21e0ebe (diff)
downloadmtk-20170518-20d363aed395e07ff42fe648f898b17f2077cc82.zip
mtk-20170518-20d363aed395e07ff42fe648f898b17f2077cc82.tar.gz
mtk-20170518-20d363aed395e07ff42fe648f898b17f2077cc82.tar.bz2
tools/squashfs: use host cflags
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools')
-rw-r--r--tools/squashfs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile
index 27adca1..87f6e8f 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