summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 10:45:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 10:45:12 +0100
commit339b913d67baa66090d81f365166304ba08eb471 (patch)
treeb90fb028a534924e81e4eff7b7e90c5d05286485
parent24c47abb342d565cc827229677fa48420d685958 (diff)
use PATH to find m4
-rw-r--r--tools/flex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index fc357d250..7df8f4be5 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 $@