summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:45:12 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:45:12 (GMT)
commit339b913d67baa66090d81f365166304ba08eb471 (patch)
treeb90fb028a534924e81e4eff7b7e90c5d05286485 /tools
parent24c47abb342d565cc827229677fa48420d685958 (diff)
use PATH to find m4
Diffstat (limited to 'tools')
-rw-r--r--tools/flex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index fc357d2..7df8f4b 100644
--- a/tools/flex/Makefile
+++ b/tools/flex/Makefile
@@ -14,7 +14,7 @@ include ../rules.mk
install: ${STAGING_HOST_DIR}/usr/bin/flex
$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
- (cd ${WRKBUILD}; ./configure)
+ (cd ${WRKBUILD}; PATH='$(STAGING_DIR_HOST)/usr/bin:$PATH' ./configure)
${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}'
touch $@