Snapshot 26Feb98 - another minor showstopper

From: Andrew Martin <martin(at)biochemistry(dot)ucl(dot)ac(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org, scrappy(at)hub(dot)org
Subject: Snapshot 26Feb98 - another minor showstopper
Date: 1998-02-26 16:31:55
Message-ID: 199802261631.QAA16331@bsmir06.biochem.ucl.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The Makefile in .../src/interfaces/ecpg/lib/ uses a gcc specific flag
(-Wall) instead of COPTS.

The following patch is for Makefile.in in that directory

*** Makefile.in.orig Tue Feb 24 08:00:41 1998
--- Makefile.in Thu Feb 26 16:27:16 1998
***************
*** 61,66 ****
libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)

ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
! $(CC) -Wall -I../include $(PQ_INCLUDE) -c ecpglib.c
typename.o : typename.c ../include/ecpgtype.h
! $(CC) -Wall -I../include $(PQ_INCLUDE) -c typename.c
--- 61,66 ----
libecpg.a : libecpg.a(ecpglib.o) libecpg.a(typename.o)

ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
! $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c ecpglib.c
typename.o : typename.c ../include/ecpgtype.h
! $(CC) $(CFLAGS) -I../include $(PQ_INCLUDE) -c typename.c

I guess (I haven't had time to check) that the actual Makefile is built
from Makefile.in. If not, then an equivalent patch needs to be applied
to Makefile

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin(at)biochem(dot)ucl(dot)ac(dot)uk (Home) andrew(at)stagleys(dot)demon(dot)co(dot)uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775

Browse pgsql-hackers by date

  From Date Subject
Next Message Goran Thyni 1998-02-26 16:35:18 Re: [HACKERS] Solution to the pg_user passwd problem !?? (c)
Previous Message Andrew Martin 1998-02-26 15:46:37 Snapshot 26Feb98 - configure still broken