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

MacPorts noreply at macports.org
Mon Nov 3 08:36:24 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:  enhancement           |      Status:  reopened          
  Priority:  Normal                |   Milestone:  MacPorts base bugs
 Component:  ports                 |     Version:  1.6.0             
Resolution:                        |    Keywords:                    
      Port:                        |  
-----------------------------------+----------------------------------------

Comment(by mark.baas123 at gmail.com):

 I have done attempts to build a universal gtk and the binaries were not
 compatible with tiger. I found out that macports defaults to build with
 10.5sdk when it is installed, altough in the guide it says that you can
 define the universal_sysroot. After forcing to 10.4u.sdk, it still doesn't
 work, because of linking with -lcrt10.5.o. Then adding -mmacosx-version-
 min the problem is gone. So I think it is clear that this flag should be
 added to universal_cflags and universal_cxxflags.

-- 
Ticket URL: <http://trac.macports.org/ticket/14399#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list