[152299] trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

dstrubbe at macports.org dstrubbe at macports.org
Fri Sep 2 18:36:49 PDT 2016


Revision: 152299
          https://trac.macports.org/changeset/152299
Author:   dstrubbe at macports.org
Date:     2016-09-02 18:36:49 -0700 (Fri, 02 Sep 2016)
Log Message:
-----------
compilers portgroup: Since gcc6 fails to build currently for 10.5.8 PPC (see ticket #51388), the default is set back to gcc5 for this platform for the time being.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2016-09-03 01:11:34 UTC (rev 152298)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2016-09-03 01:36:49 UTC (rev 152299)
@@ -98,7 +98,12 @@
 default compilers.clear_archflags yes
 
 # also set a default gcc version
-set compilers.gcc_default gcc6
+# gcc6 fails to build currently for 10.5.8. PPC, see ticket #51388
+if {${os.platform} eq "darwin" && ${os.version} == 9 && ${os.arch} eq "powerpc"} {
+    set compilers.gcc_default gcc5 
+} else {
+    set compilers.gcc_default gcc6 
+}
 
 set compilers.list {cc cxx cpp objc fc f77 f90}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160902/20773eee/attachment.html>


More information about the macports-changes mailing list