summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-21 23:22:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-21 23:22:11 +0000
commit4c4709e5b1117255bd8360f565d82ddf87ffc5e8 (patch)
tree15cc91a5137150bd4feeccab638c104827f401c3 /tools
parent269ab387ff4b1bdd3e4f04d8ded327947be28ecd (diff)
downloadmtk-20170518-4c4709e5b1117255bd8360f565d82ddf87ffc5e8.zip
mtk-20170518-4c4709e5b1117255bd8360f565d82ddf87ffc5e8.tar.gz
mtk-20170518-4c4709e5b1117255bd8360f565d82ddf87ffc5e8.tar.bz2
flock: do not use ccache, fixes build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48447
Diffstat (limited to 'tools')
-rw-r--r--tools/flock/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/flock/Makefile b/tools/flock/Makefile
index a6a4758..9939d12 100644
--- a/tools/flock/Makefile
+++ b/tools/flock/Makefile
@@ -10,6 +10,9 @@ PKG_NAME := flock
include $(INCLUDE_DIR)/host-build.mk
+HOSTCC := $(HOSTCC_NOCACHE)
+HOSTCXX := $(HOSTCXX_NOCACHE)
+
define Host/Compile
mkdir -p $(HOST_BUILD_DIR)
$(HOSTCC) $(HOST_CFLAGS) -o $(HOST_BUILD_DIR)/flock src/flock.c