Commit 953ac7b5 authored by Marc G. Fournier's avatar Marc G. Fournier

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

Pointed out by many many ppl
parent a69c5fc8
......@@ -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
......
......@@ -5,7 +5,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Id: Makefile,v 1.5 1997/04/04 10:39:50 scrappy Exp $
# $Id: Makefile,v 1.6 1997/04/15 17:24:17 scrappy Exp $
#
#-------------------------------------------------------------------------
......@@ -16,7 +16,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 = geqo_copy.o geqo_eval.o geqo_main.o geqo_misc.o \
geqo_params.o geqo_paths.o geqo_pool.o geqo_recombination.o \
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment