#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