This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] kconfig: fix compatibility with older flex versions


Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

diff --git a/kconfig/Makefile b/kconfig/Makefile
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -88,7 +88,7 @@ zconf.hash.c: zconf.gperf
 
 lex.zconf.c: zconf.l
 	@echo "  LEX    '$@'"
-	@flex -L -P zconf -o $@ $<
+	@flex -L -Pzconf -o$@ $<
 
 # Build C files
 %.o: %.c

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]