1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Fix up the -Wno-error problem for non-gcc compilers

Pointed out by many many ppl
This commit is contained in:
Marc G. Fournier
1997-04-15 17:24:26 +00:00
parent a69c5fc81a
commit 953ac7b55a
3 changed files with 20 additions and 6 deletions

View File

@ -4,7 +4,7 @@
# Makefile for parser
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.6 1997/04/04 10:40:11 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.7 1997/04/15 17:24:26 scrappy Exp $
#
#-------------------------------------------------------------------------
@ -15,7 +15,12 @@ INCLUDE_OPT= -I.. \
-I../port/$(PORTNAME) \
-I../../include
CFLAGS+= $(INCLUDE_OPT) -Wno-error
CFLAGS+= $(INCLUDE_OPT)
ifeq ($CC), gcc)
CFLAGS+= -Wno-error
endif
OBJS= analyze.o catalog_utils.o dbcommands.o gram.o \
keywords.o parser.o parse_query.o scan.o scansup.o sysfunc.o