BUG #14217: Respect $CFLAGS from /usr/local/etc/config.site

From: dpa-postgres(at)aegee(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14217: Respect $CFLAGS from /usr/local/etc/config.site
Date: 2016-06-28 09:04:14
Message-ID: 20160628090414.17235.40306@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14217
Logged by: Dilian Palauzov
Email address: dpa-postgres(at)aegee(dot)org
PostgreSQL version: 9.6beta2
Operating system: Linux
Description:

configure generated by Autoconf loads the file $prefix/etc/config.site and
if CFLAGS is defined there, its value is used when building the project.

Because in postgresql configure.in contains on line 400 "unset CFLAGS" the
value of $CFLAGS from config.site is discarded when building postgresql,
contrary to $LDFLAGS from config.site.

Please remove the "unset CFLAGS" from configure.in and consider replacing
CFLAGS="-v" in src/templates/linux with CFLAGS="$CFLAGS -v".

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2016-06-28 15:33:09 Re: BUG #14217: Respect $CFLAGS from /usr/local/etc/config.site
Previous Message Peter Geoghegan 2016-06-28 05:57:28 Re: BUG #14150: Attempted to delete invisible tuple