Re: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Christoph Berg <christoph.berg@credativ.de>, Michael Paquier <michael@paquier.xyz>, Alvaro Herrera <alvherre@2ndquadrant.com>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-01-30T01:51:27Z
Lists: pgsql-hackers
Hi, On 2019-01-29 16:18:46 +0100, Christoph Berg wrote: > Re: Michael Paquier 2019-01-23 <20190123004722.GE3873@paquier.xyz> > > >> Largely because I think it's an independent patch from the CXXOPT need > > >> from Christopher / Debian packaging. It's a larger patch, that needs > > >> more docs etc. If whoever applies that wants to backpatch it - I'm not > > >> going to protest, I just wouldn't myself, unless somebody pipes up that > > >> it'd help them. > > > > > > Ah, I see. No arguments against. > > Fwiw I'm not attached to using COPT and friends, I just happend to > pick these because that was one way that worked. With what I've > learned now, PG_*FLAGS is the better approach. I'm confused - that doesn't allow to inject flags to all in-core built files? So how does that fix your problem fully? Say e.g. llvmjit_inline.cpp won't get the flag, and thus not be reproducible? Greetings, Andres Freund
Commits
-
Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to PGXS
- 42b204db298c 9.4.21 landed
- 12ff406f35b6 9.5.16 landed
- 5e63df82708b 9.6.12 landed
- da14c9b19048 10.7 landed
- 946430da6a0b 11.2 landed
- ac3a9afdbefd 12.0 landed