-Wno-error should only be enabled for gcc compilers, it seems
This commit is contained in:
parent
e9f37a7410
commit
29a31fb7bc
@ -4,7 +4,7 @@
|
|||||||
# Makefile for tcop
|
# Makefile for tcop
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.11 1997/04/04 10:40:34 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.12 1997/04/24 13:25:07 scrappy Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -15,7 +15,11 @@ INCLUDE_OPT= -I.. \
|
|||||||
-I../port/$(PORTNAME) \
|
-I../port/$(PORTNAME) \
|
||||||
-I../../include
|
-I../../include
|
||||||
|
|
||||||
CFLAGS+= $(INCLUDE_OPT) -Wno-error
|
CFLAGS+= $(INCLUDE_OPT)
|
||||||
|
|
||||||
|
ifeq ($(CC), gcc)
|
||||||
|
CFLAGS+= -Wno-error
|
||||||
|
endif
|
||||||
|
|
||||||
OBJS= aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o variable.o
|
OBJS= aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o variable.o
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user