[98729] trunk/dports/lang/llvm-3.2/files/leopard-no-asan.patch

jeremyhu at macports.org jeremyhu at macports.org
Sat Oct 13 13:58:47 PDT 2012


Revision: 98729
          http://trac.macports.org//changeset/98729
Author:   jeremyhu at macports.org
Date:     2012-10-13 13:58:47 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
llvm-3.2: Remove superfluous sections of the leopard-no-asan patch

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

Modified: trunk/dports/lang/llvm-3.2/files/leopard-no-asan.patch
===================================================================
--- trunk/dports/lang/llvm-3.2/files/leopard-no-asan.patch	2012-10-13 19:56:59 UTC (rev 98728)
+++ trunk/dports/lang/llvm-3.2/files/leopard-no-asan.patch	2012-10-13 20:58:47 UTC (rev 98729)
@@ -18,49 +18,6 @@
  
  # 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.
-@@ -97,10 +97,10 @@ OSX_DEPLOYMENT_ARGS += -isysroot $(ProjS
- CFLAGS.eprintf		:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- CFLAGS.10.4		:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- # FIXME: We can't build ASAN with our stub SDK yet.
--CFLAGS.asan_osx         := $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin
--CFLAGS.asan_osx_dynamic := \
--	$(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin \
--	-DMAC_INTERPOSE_FUNCTIONS=1
-+#CFLAGS.asan_osx         := $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin
-+#CFLAGS.asan_osx_dynamic := \
-+#	$(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin \
-+#	-DMAC_INTERPOSE_FUNCTIONS=1
- 
- CFLAGS.osx.i386		:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- CFLAGS.osx.x86_64	:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
-@@ -110,8 +110,8 @@ CFLAGS.profile_osx.i386   := $(CFLAGS) $
- CFLAGS.profile_osx.x86_64 := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
- 
- # Configure the asan_osx_dynamic library to be built shared.
--SHARED_LIBRARY.asan_osx_dynamic := 1
--LDFLAGS.asan_osx_dynamic := -framework Foundation -lstdc++
-+#SHARED_LIBRARY.asan_osx_dynamic := 1
-+#LDFLAGS.asan_osx_dynamic := -framework Foundation -lstdc++
- 
- FUNCTIONS.eprintf := eprintf
- FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
-@@ -120,11 +120,11 @@ FUNCTIONS.osx	:= mulosi4 mulodi4 muloti4
- 
- FUNCTIONS.profile_osx := GCDAProfiling
- 
--FUNCTIONS.asan_osx := $(AsanFunctions) $(InterceptionFunctions) \
--                                       $(SanitizerCommonFunctions)
--FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \
--                              $(SanitizerCommonFunctions) \
--	                      $(AsanDynamicFunctions)
-+#FUNCTIONS.asan_osx := $(AsanFunctions) $(InterceptionFunctions) \
-+#                                       $(SanitizerCommonFunctions)
-+#FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \
-+#                              $(SanitizerCommonFunctions) \
-+#	                      $(AsanDynamicFunctions)
- 
- CCKEXT_COMMON_FUNCTIONS := \
- 	absvdi2 \
 --- a/tools/clang/runtime/compiler-rt/Makefile.orig	2012-10-12 01:42:13.000000000 -0700
 +++ b/tools/clang/runtime/compiler-rt/Makefile	2012-10-12 09:24:08.000000000 -0700
 @@ -75,7 +75,6 @@ ifeq ($(OS),Darwin)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/2a2a2c28/attachment.html>


More information about the macports-changes mailing list