mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
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> Message-Id: <9652ce148bddc1def484.1339241000@beantl019720> (transplanted from 7b1dda3ab07505bc1627d6fa70c60c7cd003eb3d)
This commit is contained in:
parent
d257c9901a
commit
7c0a1717a5
@ -88,7 +88,7 @@ zconf.hash.c: zconf.gperf
|
|||||||
|
|
||||||
lex.zconf.c: zconf.l
|
lex.zconf.c: zconf.l
|
||||||
@echo " LEX '$@'"
|
@echo " LEX '$@'"
|
||||||
@flex -L -P zconf -o $@ $<
|
@flex -L -Pzconf -o$@ $<
|
||||||
|
|
||||||
# Build C files
|
# Build C files
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
Loading…
Reference in New Issue
Block a user