[99184] trunk/dports/lang/llvm-3.2

jeremyhu at macports.org jeremyhu at macports.org
Sun Oct 28 22:12:03 PDT 2012


Revision: 99184
          http://trac.macports.org//changeset/99184
Author:   jeremyhu at macports.org
Date:     2012-10-28 22:12:03 -0700 (Sun, 28 Oct 2012)
Log Message:
-----------
llvm-3.2: Fix build of clang-3.2 on Snow Leopard

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.2/Portfile

Added Paths:
-----------
    trunk/dports/lang/llvm-3.2/files/0001-Comment-out-SL-cctools-workaround.patch

Modified: trunk/dports/lang/llvm-3.2/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.2/Portfile	2012-10-29 04:25:23 UTC (rev 99183)
+++ trunk/dports/lang/llvm-3.2/Portfile	2012-10-29 05:12:03 UTC (rev 99184)
@@ -81,7 +81,8 @@
     }
 
     patchfiles-append    tiger-shlib-clang.patch tiger-libclang.patch scan-build-PR-35006.patch \
-                         0001-Use-I-dir-and-L-dir-when-constructing-our-argument-l.patch
+                         0001-Use-I-dir-and-L-dir-when-constructing-our-argument-l.patch \
+                         0001-Comment-out-SL-cctools-workaround.patch
 
     build.target        clang-only
     destroot.target     install-clang

Added: trunk/dports/lang/llvm-3.2/files/0001-Comment-out-SL-cctools-workaround.patch
===================================================================
--- trunk/dports/lang/llvm-3.2/files/0001-Comment-out-SL-cctools-workaround.patch	                        (rev 0)
+++ trunk/dports/lang/llvm-3.2/files/0001-Comment-out-SL-cctools-workaround.patch	2012-10-29 05:12:03 UTC (rev 99184)
@@ -0,0 +1,36 @@
+From 84f5c6f54a87a7d4a4beb2c0367b9cd77927e078 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+Date: Sun, 28 Oct 2012 19:53:51 -0700
+Subject: [PATCH] Comment out SL cctools workaround
+
+Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
+---
+ make/platform/clang_darwin.mk | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
+index 5bc0e10..e697cad 100644
+--- a/projects/compiler-rt/make/platform/clang_darwin.mk
++++ b/projects/compiler-rt/make/platform/clang_darwin.mk
+@@ -80,12 +80,12 @@ UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynam
+ # object files. If we are on that platform, strip out all ARM archs. We still
+ # build the libraries themselves so that Clang can find them where it expects
+ # them, even though they might not have an expected slice.
+-ifneq ($(shell sw_vers -productVersion | grep 10.6),)
+-UniversalArchs.ios := $(filter-out armv7, $(UniversalArchs.ios))
+-UniversalArchs.cc_kext := $(filter-out armv7, $(UniversalArchs.cc_kext))
+-UniversalArchs.cc_kext_ios5 := $(filter-out armv7, $(UniversalArchs.cc_kext_ios5))
+-UniversalArchs.profile_ios := $(filter-out armv7, $(UniversalArchs.profile_ios))
+-endif
++#ifneq ($(shell sw_vers -productVersion | grep 10.6),)
++#UniversalArchs.ios := $(filter-out armv7, $(UniversalArchs.ios))
++#UniversalArchs.cc_kext := $(filter-out armv7, $(UniversalArchs.cc_kext))
++#UniversalArchs.cc_kext_ios5 := $(filter-out armv7, $(UniversalArchs.cc_kext_ios5))
++#UniversalArchs.profile_ios := $(filter-out armv7, $(UniversalArchs.profile_ios))
++#endif
+ 
+ # If RC_SUPPORTED_ARCHS is defined, treat it as a list of the architectures we
+ # are intended to support and limit what we try to build to that.
+-- 
+1.8.0
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121028/9160fb09/attachment-0001.html>


More information about the macports-changes mailing list