aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2002-02-23 04:16:04 +0000
committerPeter Eisentraut <peter_e@gmx.net>2002-02-23 04:16:04 +0000
commit0055a3939048c8b7190f1a993a9a364657fe90e7 (patch)
tree69e2960a902c4fddc7263f4251e7ffe597c17170 /src
parent51f195580f5cd99fc26ced01619e4f50d5949d0c (diff)
downloadpostgresql-0055a3939048c8b7190f1a993a9a364657fe90e7.tar.gz
postgresql-0055a3939048c8b7190f1a993a9a364657fe90e7.zip
Add -Wno-error to CFLAGS, so the rest of the tree can compile with
-Werror.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/preproc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/Makefile b/src/interfaces/ecpg/preproc/Makefile
index 8fb95ed00c2..949f5969938 100644
--- a/src/interfaces/ecpg/preproc/Makefile
+++ b/src/interfaces/ecpg/preproc/Makefile
@@ -1,4 +1,4 @@
-# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.81 2002/01/09 00:06:38 tgl Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.82 2002/02/23 04:16:04 petere Exp $
subdir = src/interfaces/ecpg/preproc
top_builddir = ../../../..
@@ -13,6 +13,10 @@ override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) \
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
-DINCLUDE_PATH=\"$(includedir)\"
+ifeq ($(GCC), yes)
+override CFLAGS += -Wno-error
+endif
+
OBJS=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o