projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure: check if lex requires/fails with -o for output
[fio.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 510e2570bd84dad22368be085d69df30ee16a440..1b5c9a6f35892d3e15b259a0dafde6df2a2cfc6c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-297,7
+297,11
@@
override CFLAGS += -DFIO_VERSION='"$(FIO_VERSION)"'
ifdef CONFIG_ARITHMETIC
lex.yy.c: exp/expression-parser.l
+ifdef CONFIG_LEX_USE_O
$(QUIET_LEX)$(LEX) -o $@ $<
+else
+ $(QUIET_LEX)$(LEX) $<
+endif
lex.yy.o: lex.yy.c y.tab.h
$(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<