[source] tools/squashfs: use host cflags

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:45:25 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/1aedf2f1495b75e5bd368b20ea01d65d4d16b714

commit 1aedf2f1495b75e5bd368b20ea01d65d4d16b714
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Oct 24 13:22:09 2017 +0200

    tools/squashfs: use host cflags
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
    (cherry picked from commit 20d363aed395e07ff42fe648f898b17f2077cc82)
---
 tools/squashfs/Makefile | 1 +
 1 file changed, 1 insertion(+)

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 



More information about the lede-commits mailing list