[119148] trunk/dports/lang/llvm-3.4/files/leopard-no-asan.patch

jeremyhu at macports.org jeremyhu at macports.org
Thu Apr 17 23:59:17 PDT 2014


Revision: 119148
          https://trac.macports.org/changeset/119148
Author:   jeremyhu at macports.org
Date:     2014-04-17 23:59:16 -0700 (Thu, 17 Apr 2014)
Log Message:
-----------
llvm-3.4: Don't install ubsan_osx on Leopard (#43353)

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

Modified: trunk/dports/lang/llvm-3.4/files/leopard-no-asan.patch
===================================================================
--- trunk/dports/lang/llvm-3.4/files/leopard-no-asan.patch	2014-04-18 06:09:50 UTC (rev 119147)
+++ trunk/dports/lang/llvm-3.4/files/leopard-no-asan.patch	2014-04-18 06:59:16 UTC (rev 119148)
@@ -1,8 +1,6 @@
-Index: llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk
-===================================================================
---- llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk	(revision 185755)
-+++ llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk	(working copy)
-@@ -81,8 +81,8 @@ Configs += profile_ios
+--- a/projects/compiler-rt/make/platform/clang_darwin.mk.orig	2013-11-22 06:31:50.000000000 -0800
++++ a/projects/compiler-rt/make/platform/clang_darwin.mk	2014-04-17 22:17:52.000000000 -0700
+@@ -85,8 +85,8 @@ Configs += profile_ios
  UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
  
  # Configurations which define the ASAN support functions.
@@ -11,17 +9,29 @@
 +#Configs += asan_osx_dynamic
 +#UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
  
- Configs += ubsan_osx
- UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)
-Index: llvm-3.3/tools/clang/runtime/compiler-rt/Makefile
-===================================================================
---- llvm-3.4/tools/clang/runtime/compiler-rt/Makefile	(revision 185755)
-+++ llvm-3.4/tools/clang/runtime/compiler-rt/Makefile	(working copy)
-@@ -77,7 +77,6 @@ ifeq ($(OS),Darwin)
- RuntimeDirs += darwin
+ IOSSIM_SDK_PATH := $(call XCRunSdkPath,iphonesimulator)
+ ifneq ($(IOSSIM_SDK_PATH),)
+@@ -94,8 +94,8 @@ Configs += asan_iossim_dynamic
+ UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic)
+ endif
+ 
+-Configs += ubsan_osx
+-UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)
++#Configs += ubsan_osx
++#UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)
+ 
+ # Darwin 10.6 has a bug in cctools that makes it unable to use ranlib on our ARM
+ # object files. If we are on that platform, strip out all ARM archs. We still
+--- a/tools/clang/runtime/compiler-rt/Makefile.orig	2013-11-15 15:12:44.000000000 -0800
++++ a/tools/clang/runtime/compiler-rt/Makefile	2014-04-17 22:18:44.000000000 -0700
+@@ -81,9 +81,7 @@ ifeq ($(OS),Darwin)
+ RuntimeDirs += darwin darwin_embedded
  RuntimeLibrary.darwin.Configs := \
  	eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
 -	asan_osx_dynamic.dylib \
- 	profile_osx.a profile_ios.a \
- 	ubsan_osx.a
- endif
+-	profile_osx.a profile_ios.a \
+-	ubsan_osx.a
++	profile_osx.a profile_ios.a
+ RuntimeLibrary.darwin_embedded.Configs := \
+ 	soft_static.a hard_static.a soft_pic.a hard_pic.a
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140417/69f43a4e/attachment-0001.html>


More information about the macports-changes mailing list