public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] kconfig: fix compatibility with older flex versions
@ 2012-06-09 11:24 Thomas De Schampheleire
  2012-07-23 21:39 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas De Schampheleire @ 2012-06-09 11:24 UTC (permalink / raw)
  To: crossgcc; +Cc: patrickdepinguin+buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-23 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-09 11:24 [PATCH] kconfig: fix compatibility with older flex versions Thomas De Schampheleire
2012-07-23 21:39 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).