[138590] trunk/dports/lang/llvm-3.7

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 12 22:03:30 PDT 2015


Revision: 138590
          https://trac.macports.org/changeset/138590
Author:   jeremyhu at macports.org
Date:     2015-07-12 22:03:30 -0700 (Sun, 12 Jul 2015)
Log Message:
-----------
clang-3.7: Fix build on Lion (#47729)

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.7/Portfile
    trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch

Modified: trunk/dports/lang/llvm-3.7/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.7/Portfile	2015-07-13 02:15:21 UTC (rev 138589)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-07-13 05:03:30 UTC (rev 138590)
@@ -231,7 +231,7 @@
         configure.optflags    -Os
     }
 
-    if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 10} {
+    if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 11} {
         patchfiles-append leopard-no-asan.patch
     }
 

Modified: trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch	2015-07-13 02:15:21 UTC (rev 138589)
+++ trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch	2015-07-13 05:03:30 UTC (rev 138590)
@@ -34,3 +34,15 @@
  
  XCRunSdkPath = \
    $(shell \
+@@ -103,11 +101,6 @@ ifneq ($(IOS_SDK),)
+ RuntimeLibrary.darwin.Configs += cc_kext_ios5.a
+ endif
+ 
+-ifneq ($(IOSSIM_SDK),)
+-RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib \
+-                                 ubsan_iossim_dynamic.dylib
+-endif
+-
+ RuntimeLibrary.macho_embedded.Configs := \
+ 	hard_static.a hard_pic.a
+ ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150712/47932fb7/attachment.html>


More information about the macports-changes mailing list