Re: Makefile patch to make gcov work on Postgres contrib modules

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Makefile patch to make gcov work on Postgres contrib modules
Date: 2007-04-12 05:16:00
Message-ID: 9289.1176354960@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> %.so: %.o
> ! $(CC) -shared -o $@ $<

> sqlmansect = 7
> --- 11,16 ----
> endif

> %.so: %.o
> ! $(CC) $(CFLAGS) -shared -o $@ $<

Surely CFLAGS should be irrelevant at link time. Maybe LDFLAGS?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacky Leng 2007-04-12 05:17:50 Re: Why need XLogReadBuffer have the paramter "init"?
Previous Message Warren Turkal 2007-04-12 05:06:12 Re: Vista/IPv6