summaryrefslogtreecommitdiff
path: root/target/tools/squashfs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/squashfs/patches')
-rw-r--r--target/tools/squashfs/patches/honour-cflags.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tools/squashfs/patches/honour-cflags.patch b/target/tools/squashfs/patches/honour-cflags.patch
index 2ee7de909..a50d94263 100644
--- a/target/tools/squashfs/patches/honour-cflags.patch
+++ b/target/tools/squashfs/patches/honour-cflags.patch
@@ -5,7 +5,7 @@
INCLUDEDIR = .
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2
-+CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 ${HOSTCFLAGS}
++CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 ${CFLAGS_FOR_BUILD}
all: mksquashfs unsquashfs