BSD Yacc doesn't understand --no-lines, so use -l instead
authorBruce Cran <bruce@cran.org.uk>
Wed, 15 Oct 2014 20:16:35 +0000 (14:16 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 15 Oct 2014 20:16:35 +0000 (14:16 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile

index 0f77df9981c5d763d83c367a8de622f18c285ac0..55a93fc247ff0908018963254bb9e3ad7ca32201 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ y.tab.o: y.tab.c y.tab.h
        $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
 
 y.tab.c: exp/expression-parser.y
-       $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y
+       $(QUIET_YACC)$(YACC) -l -d -b y exp/expression-parser.y
 
 y.tab.h: y.tab.c