#
# Makefile for parser
#
-# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.49 2009/03/07 00:13:57 alvherre Exp $
+# $PostgreSQL: pgsql/src/backend/parser/Makefile,v 1.50 2009/08/26 22:15:59 petere Exp $
#
#-------------------------------------------------------------------------
# scan is compiled as part of gram
gram.o: $(srcdir)/scan.c
+# Latest flex causes warnings in this file.
+ifeq ($(GCC),yes)
+gram.o: CFLAGS += -Wno-error
+endif
+
# There is no correct way to write a rule that generates two files.
# Rules with two targets don't have that meaning, they are merely