projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d09933
)
Add -Wno-error to CFLAGS from gram.o as long as it's broken.
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 26 Aug 2009 22:15:59 +0000
(22:15 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 26 Aug 2009 22:15:59 +0000
(22:15 +0000)
src/backend/parser/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/parser/Makefile
b/src/backend/parser/Makefile
index 54c4589b26ecfcd562f7f37c414263d9e8e81bbc..03ec0b00e98a14858fa5fd5f1901313a7ada56f4 100644
(file)
--- a/
src/backend/parser/Makefile
+++ b/
src/backend/parser/Makefile
@@
-24,6
+24,11
@@
include $(top_srcdir)/src/backend/common.mk
# 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