[MacPorts] #14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants on PPC

MacPorts trac at macosforge.org
Wed Feb 20 02:37:16 PST 2008


#14399: -mmacosx-version-min= should be appended to CFLAGS with universal variants
on PPC
----------------------------------+-----------------------------------------
 Reporter:  gui_dos at macports.org  |       Owner:  afb at 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


More information about the macports-tickets mailing list