From: Marc G. Fournier Date: Thu, 23 Jan 1997 16:04:25 +0000 (+0000) Subject: Fix from Andrew for compiling libpgtcl...basically, switch off -Werror, X-Git-Tag: REL6_1~673 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0ff9ac0c2b8d713bc4719c6c7592c9f8bfdc325;p=postgresql Fix from Andrew for compiling libpgtcl...basically, switch off -Werror, which probably isn't needed, since we are going to take off -Werror anyway, right? --- diff --git a/src/interfaces/libpgtcl/Makefile b/src/interfaces/libpgtcl/Makefile index a9853c1d0b..f6189a6291 100644 --- a/src/interfaces/libpgtcl/Makefile +++ b/src/interfaces/libpgtcl/Makefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.8 1997/01/10 18:55:14 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.9 1997/01/23 16:04:25 scrappy Exp $ # #------------------------------------------------------------------------- @@ -25,6 +25,11 @@ ifdef KRBVERS CFLAGS+= $(KRBFLAGS) endif +ifeq ($(CC), gcc) + CFLAGS+= -Wno-error +endif + + ifeq ($(PORTNAME), linux) ifdef LINUX_ELF ifeq ($(CC), gcc)