]> granicus.if.org Git - postgresql/commitdiff
Fix from Andrew for compiling libpgtcl...basically, switch off -Werror,
authorMarc G. Fournier <scrappy@hub.org>
Thu, 23 Jan 1997 16:04:25 +0000 (16:04 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Thu, 23 Jan 1997 16:04:25 +0000 (16:04 +0000)
which probably isn't needed, since we are going to take off -Werror
anyway, right?

src/interfaces/libpgtcl/Makefile

index a9853c1d0bf410243a80484bb1b14f60c4c07d99..f6189a6291dbb5748cf27845c06e901ba2692143 100644 (file)
@@ -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)