[86010] trunk/dports/devel/libsdl/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 18 04:21:27 PDT 2011


Revision: 86010
          http://trac.macports.org/changeset/86010
Author:   jmr at macports.org
Date:     2011-10-18 04:21:24 -0700 (Tue, 18 Oct 2011)
Log Message:
-----------
libsdl: also use clang workaround for build_arch=i386

Modified Paths:
--------------
    trunk/dports/devel/libsdl/Portfile

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2011-10-18 11:10:38 UTC (rev 86009)
+++ trunk/dports/devel/libsdl/Portfile	2011-10-18 11:21:24 UTC (rev 86010)
@@ -33,7 +33,7 @@
                     rmd160  a3a9a691f5510eb5327ca159a034f55a70cb5801
 
 minimum_xcodeversions {8 2.4.1}
-if {$xcodeversion == "4.2" && [variant_isset universal]} {
+if {$xcodeversion == "4.2" && ($build_arch == "i386" || [variant_isset universal])} {
     # clang crashes with -O2, ticket #31649
     configure.optflags -Os
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111018/5b1125f4/attachment.html>


More information about the macports-changes mailing list