From 94a04b1590ea7c096b2fd1d5eab06759b566712c Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Fri, 16 Nov 2012 12:51:23 +0000 Subject: UBSan: fix support on Darwin in 'make' build system. Patch by Jean-Daniel Dupas. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168167 91177308-0d34-0410-b5e6-96231b3b80d8 --- make/platform/clang_darwin.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/platform') diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk index 399edee0..fe84a056 100644 --- a/make/platform/clang_darwin.mk +++ b/make/platform/clang_darwin.mk @@ -134,7 +134,7 @@ CFLAGS.asan_osx_dynamic := \ $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin \ -DMAC_INTERPOSE_FUNCTIONS=1 -CFLAGS.ubsan_osx := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS) +CFLAGS.ubsan_osx := $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin CFLAGS.ios.i386 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS) CFLAGS.ios.x86_64 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS) @@ -188,7 +188,7 @@ FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \ $(SanitizerCommonFunctions) \ $(AsanDynamicFunctions) -FUNCTIONS.ubsan_osx := $(UbsanFunctions) +FUNCTIONS.ubsan_osx := $(UbsanFunctions) $(SanitizerCommonFunctions) CCKEXT_COMMON_FUNCTIONS := \ absvdi2 \ -- cgit v1.2.3