1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-18 04:29:09 +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 the bootstrap module
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.6 1997/04/04 10:38:58 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.7 1997/04/15 17:24:07 scrappy Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -25,7 +25,11 @@ INCLUDE_OPT= -I.. \
-I../port/$(PORTNAME) \
-I../../include
CFLAGS+= $(INCLUDE_OPT) -Wno-error
CFLAGS+= $(INCLUDE_OPT)
ifeq ($CC), gcc)
CFLAGS+= -Wno-error
endif
BOOTYACCS= bootstrap_tokens.h bootparse.c