From: Akim Demaille Date: Wed, 27 Feb 2013 14:41:55 +0000 (+0100) Subject: build: stop using bison -y X-Git-Tag: v2.7.90~67 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/f1526426cddd0aaef7f54c583b5a8651f2dad482 build: stop using bison -y * Makefile.am (YACC): Pass -o y.tab.c, so that ylwrap is happy, and yet we don't pass --yacc to bison. (AM_YFLAGS): Disable Yacc warnings. --- diff --git a/Makefile.am b/Makefile.am index 34edfc78..7a752d7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,8 +32,8 @@ EXTRA_DIST = .prev-version .version \ ## version of Bison nearby... BISON = $(top_builddir)/tests/bison BISON_IN = $(top_srcdir)/tests/bison.in -YACC = $(BISON) -y -AM_YFLAGS = -d -v --warnings=all,error --report=all +YACC = $(BISON) -o y.tab.c +AM_YFLAGS = -d -v -Werror -Wall -Wno-yacc --report=all # Initialization before completion by local.mk's. AM_CFLAGS = $(WARN_CFLAGS)