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

jmr at macports.org jmr at macports.org
Tue Oct 18 04:10:41 PDT 2011


Revision: 86009
          http://trac.macports.org/changeset/86009
Author:   jmr at macports.org
Date:     2011-10-18 04:10:38 -0700 (Tue, 18 Oct 2011)
Log Message:
-----------
libsdl: work around xcode 4.2 clang crash (#31649)

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

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2011-10-18 08:26:04 UTC (rev 86008)
+++ trunk/dports/devel/libsdl/Portfile	2011-10-18 11:10:38 UTC (rev 86009)
@@ -33,6 +33,10 @@
                     rmd160  a3a9a691f5510eb5327ca159a034f55a70cb5801
 
 minimum_xcodeversions {8 2.4.1}
+if {$xcodeversion == "4.2" && [variant_isset universal]} {
+    # clang crashes with -O2, ticket #31649
+    configure.optflags -Os
+}
 
 patchfiles      cpuinfo.diff patch-SDL_x11gl_c.h.diff mmx.h.diff
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111018/a47e3931/attachment.html>


More information about the macports-changes mailing list