[135168] trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 17 18:53:52 PDT 2015


Revision: 135168
          https://trac.macports.org/changeset/135168
Author:   jeremyhu at macports.org
Date:     2015-04-17 18:53:52 -0700 (Fri, 17 Apr 2015)
Log Message:
-----------
llvm-3.7: Fix leopard asan patch

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.7/files/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-04-17 22:54:14 UTC (rev 135167)
+++ trunk/dports/lang/llvm-3.7/files/leopard-no-asan.patch	2015-04-18 01:53:52 UTC (rev 135168)
@@ -1,7 +1,7 @@
---- a/projects/compiler-rt/make/platform/clang_darwin.mk.orig	2015-01-10 03:41:48.000000000 -0800
-+++ b/projects/compiler-rt/make/platform/clang_darwin.mk	2015-01-10 04:13:39.000000000 -0800
-@@ -115,13 +115,13 @@ UniversalArchs.profile_ios := $(call Che
- UniversalArchs.profile_ios += $(call CheckArches,armv7,profile_ios,$(IOS_SDK))
+--- a/projects/compiler-rt/make/platform/clang_darwin.mk.orig	2015-04-17 18:46:34.000000000 -0700
++++ b/projects/compiler-rt/make/platform/clang_darwin.mk	2015-04-17 18:48:25.000000000 -0700
+@@ -119,16 +119,16 @@ UniversalArchs.profile_ios := $(call Che
+ UniversalArchs.profile_ios += $(call CheckArches,armv7 arm64,profile_ios,$(IOS_SDK))
  
  # Configurations which define the ASAN support functions.
 -Configs += asan_osx_dynamic
@@ -12,20 +12,24 @@
 +#Configs += asan_iossim_dynamic
  UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic,$(IOSSIM_SDK))
  
--Configs += ubsan_osx
-+#Configs += ubsan_osx
- UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx,$(OSX_SDK))
+-Configs += ubsan_osx_dynamic
++#Configs += ubsan_osx_dynamic
+ UniversalArchs.ubsan_osx_dynamic := $(call CheckArches,i386 x86_64 x86_64h,ubsan_osx_dynamic,$(OSX_SDK))
  
+-Configs += ubsan_iossim_dynamic
++#Configs += ubsan_iossim_dynamic
+ UniversalArchs.ubsan_iossim_dynamic := $(call CheckArches,i386 x86_64,ubsan_iossim_dynamic,$(IOSSIM_SDK))
+ 
  # Darwin 10.6 has a bug in cctools that makes it unable to use ranlib on our ARM
---- a/tools/clang/runtime/compiler-rt/Makefile.orig	2015-01-08 23:42:54.000000000 -0800
-+++ b/tools/clang/runtime/compiler-rt/Makefile	2015-01-10 04:13:59.000000000 -0800
+--- a/tools/clang/runtime/compiler-rt/Makefile.orig	2015-04-17 18:46:32.000000000 -0700
++++ b/tools/clang/runtime/compiler-rt/Makefile	2015-04-17 18:48:42.000000000 -0700
 @@ -78,9 +78,7 @@ ifeq ($(OS),Darwin)
  RuntimeDirs += darwin macho_embedded
  RuntimeLibrary.darwin.Configs := \
  	eprintf.a 10.4.a osx.a cc_kext.a \
 -	asan_osx_dynamic.dylib \
 -	profile_osx.a \
--	ubsan_osx.a
+-	ubsan_osx_dynamic.dylib
 +	profile_osx.a
  
  XCRunSdkPath = \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150417/75c46696/attachment.html>


More information about the macports-changes mailing list