Opened 13 years ago
Closed 13 years ago
#33907 closed defect (fixed)
Strip -arch flags from ${prefix}/lib/postgresqlXX/pgxs/src/Makefile.global and correct CFLAGS/LDFLAGS
Reported by: | Veence (Vincent) | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | pgxs postgresql | Cc: | mww@…, jyrkiwahlstedt |
Port: | postgresql91 |
Description
Initial disclaimer: This might be better relayed upstream.
The ${prefix}/lib/postgresqlXX/pgxs/src/Makefile.global which is included by the PGXS mechanism defines CFLAGS and LDFLAGS, thereby overriding user’s own choice.
There are two things here:
- Transform CFLAGS = and LDFLAGS = into CFLAGS += and LDFLAGS += to avoid overriding;
- Strip -arch XXX flags of both lines, to avoid forcing universal builds of extensions (e.g. postgis).
Change History (1)
comment:1 Changed 13 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r92935