projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ea141
)
tools/squashfs: use host cflags
author
Felix Fietkau
<nbd@nbd.name>
Tue, 24 Oct 2017 11:22:09 +0000
(13:22 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 24 Oct 2017 11:24:05 +0000
(13:24 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
tools/squashfs/Makefile
patch
|
blob
|
history
diff --git
a/tools/squashfs/Makefile
b/tools/squashfs/Makefile
index 27adca1d7f4a23435fa730c471dab7ec05851e93..87f6e8fd9931994438ce1340b3c72e4d872af1de 100644
(file)
--- 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