Add -Wno-error to CFLAGS, so the rest of the tree can compile with
-Werror.
This commit is contained in:
parent
51f195580f
commit
0055a39390
@ -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
|
subdir = src/interfaces/ecpg/preproc
|
||||||
top_builddir = ../../../..
|
top_builddir = ../../../..
|
||||||
@ -13,6 +13,10 @@ override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) \
|
|||||||
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
|
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
|
||||||
-DINCLUDE_PATH=\"$(includedir)\"
|
-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\
|
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
|
keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user