[82579] trunk/dports/cross/arm-elf-gcc/Portfile

dports at macports.org dports at macports.org
Mon Aug 15 20:21:03 PDT 2011


Revision: 82579
          http://trac.macports.org/changeset/82579
Author:   dports at macports.org
Date:     2011-08-15 20:21:01 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
arm-elf-gcc: build fails with llvm-gcc-4.2; force clang instead (#29551)

Modified Paths:
--------------
    trunk/dports/cross/arm-elf-gcc/Portfile

Modified: trunk/dports/cross/arm-elf-gcc/Portfile
===================================================================
--- trunk/dports/cross/arm-elf-gcc/Portfile	2011-08-15 22:41:07 UTC (rev 82578)
+++ trunk/dports/cross/arm-elf-gcc/Portfile	2011-08-16 03:21:01 UTC (rev 82579)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem			1.0
@@ -144,6 +145,11 @@
 	configure.args-append	--enable-nofmult
 }
 
+# Fails to build with llvm-gcc, at least in Xcode 4.1; use clang (#29551)
+if {${configure.compiler} == "llvm-gcc-4.2"} {
+    configure.compiler clang
+}
+
 # Build in a different directory, as advised in the README file.
 pre-configure   {
 	file mkdir "${workpath}/build"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/8d908c54/attachment.html>


More information about the macports-changes mailing list