From f0ff9ac0c2b8d713bc4719c6c7592c9f8bfdc325 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Thu, 23 Jan 1997 16:04:25 +0000 Subject: [PATCH] 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? --- src/interfaces/libpgtcl/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.40.0