Fix up the -Wno-error problem for non-gcc compilers
Pointed out by many many ppl
This commit is contained in:
parent
a69c5fc81a
commit
953ac7b55a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user