Add -Wno-conflicts-sr to yacc flags

This commit is contained in:
Evan Miller 2020-08-05 10:08:11 -04:00
parent 7436fa0e0e
commit b8181fa65f

View File

@ -46,7 +46,11 @@ AC_MSG_RESULT( no - SQL engine disable);
sql=false
fi
if ! $YACC -V >/dev/null 2>&1; then
if $YACC -V >/dev/null 2>&1; then
if $YACC -Wno-conflicts-sr -V >/dev/null 2>&1; then
YFLAGS="$YFLAGS -Wno-conflicts-sr"
fi
else
sql=false
fi