diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-10-24 13:22:09 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 16:41:40 +0100 |
commit | 1aedf2f1495b75e5bd368b20ea01d65d4d16b714 (patch) | |
tree | 727ec45f7a6340002e28b8c6e840534c210added /tools/squashfs | |
parent | 7fa70027d4f91ffca4970c84f3e7bef1046ae8a6 (diff) | |
download | upstream-1aedf2f1495b75e5bd368b20ea01d65d4d16b714.tar.gz upstream-1aedf2f1495b75e5bd368b20ea01d65d4d16b714.tar.bz2 upstream-1aedf2f1495b75e5bd368b20ea01d65d4d16b714.zip |
tools/squashfs: use host cflags
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 20d363aed395e07ff42fe648f898b17f2077cc82)
Diffstat (limited to 'tools/squashfs')
-rw-r--r-- | tools/squashfs/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile index 27adca1d7f..87f6e8fd99 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 |