[MacPorts] #14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants on PPC
#14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants on PPC ----------------------------------+----------------------------------------- Reporter: gui_dos@macports.org | Owner: afb@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: ports | Version: 1.7.0 Keywords: | ----------------------------------+----------------------------------------- While compiling the first universal variants on Leopard 10.5.2 PPC using the latest MacPorts 1.7.0 from trunk, I found that several ports (zlib, jpeg) can't be linked correctly. When "gcc -dynamiclib" is used, LDFLAGS isn't evaluated, but appending -mmacosx-version-min=10.4 to CFLAGS seems to solve the issue. Instead of adding "configure.universal_cflags-append -mmacosx-version- min=10.4" to these ports, perhaps the proc configure_get_universal_cflags could be modified in order to append "-mmacosx-version-min=10.4" to the returned flags. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14399> MacPorts </projects/macports> Ports system for Mac OS
#14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants on PPC -----------------------------------+---------------------------------------- Reporter: gui_dos@macports.org | Owner: afb@macports.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by afb@macports.org): Or we could change +universal back to use the 10.5 SDK, cross-compiling is so much hassle... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14399#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants on PPC -----------------------------------+---------------------------------------- Reporter: gui_dos@macports.org | Owner: afb@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: -----------------------------------+---------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => fixed Comment: Fixed, r34317. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14399#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts