[MacPorts] #33907: Strip -arch flags from ${prefix}/lib/postgresqlXX/pgxs/src/Makefile.global and correct CFLAGS/LDFLAGS
#33907: Strip -arch flags from ${prefix}/lib/postgresqlXX/pgxs/src/Makefile.global and correct CFLAGS/LDFLAGS --------------------------------+------------------------------------------- Reporter: vince@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: pgxs postgresql | Port: postgresql91 --------------------------------+------------------------------------------- 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: 1. Transform CFLAGS = and LDFLAGS = into CFLAGS += and LDFLAGS += to avoid overriding; 2. Strip -arch XXX flags of both lines, to avoid forcing universal builds of extensions (e.g. postgis). -- Ticket URL: <https://trac.macports.org/ticket/33907> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33907: Strip -arch flags from ${prefix}/lib/postgresqlXX/pgxs/src/Makefile.global and correct CFLAGS/LDFLAGS ---------------------------------+------------------------------------------ Reporter: vince@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: pgxs postgresql Port: postgresql91 | ---------------------------------+------------------------------------------ Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: Fixed in r92935 -- Ticket URL: <https://trac.macports.org/ticket/33907#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts