summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-05-28 11:27:00 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-28 21:39:55 (GMT)
commitc0d30d4c94047ab29db021a921dc3762e81ac5e7 (patch)
tree68f9c4ddcebb92b7b3beb0e38ce4ab9aa3840447
parenteb71e79f410e9a9d391a8bd83046a4df50b2b1ab (diff)
downloadbuildroot-c0d30d4c94047ab29db021a921dc3762e81ac5e7.tar.gz
buildroot-c0d30d4c94047ab29db021a921dc3762e81ac5e7.tar.bz2
flex: propagate m4 dependency on wchar
Commit fe6a9e5e9d4046173a60235f8fd9a3b4746929c6 missed the fact that m4 has a dependency on wide char support, so this dependency should be propagated to flex. Fixes: http://autobuild.buildroot.org/results/495/49502b2e33a346b2fcebf5e2da00af2661b54d6e/build-end.log [Peter: Note where wchar dep comes from, show comment if not available] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/flex/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index 1ecd0c3..4fbc56c 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -14,5 +14,9 @@ config BR2_PACKAGE_FLEX_BINARY
depends on BR2_PACKAGE_FLEX
# runtime dependency
select BR2_PACKAGE_M4
+ depends on BR2_USE_WCHAR # m4
help
Install the flex binary tool in the target filesystem.
+
+comment "flex binary requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR