summaryrefslogtreecommitdiff
path: root/make/platform/clang_linux.mk
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-06-25 00:57:06 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-06-25 00:57:06 +0000
commit3515fb60c6edb50c3e4c0928100fefdf7bb495bc (patch)
tree6670dae02fa2f0ef31cb6ff456e002d5e3d6045e /make/platform/clang_linux.mk
parent254abfa43326c2d49143529c26a86a27356e1243 (diff)
Remove the sysroot (or isysroot) restriction from the GCDAProfile.c
runtime in the Makefile build system as well. Sorry for the temporary fallout, it took me a while to find these bits. Bill, I'm not at all confident of the change for Darwin and iOS, but as discussed we're completely blocked on fixing this. Anyways, please review and let me know if this will work for you guys. If necessary, I can work with you to rig up an errno.h stub for Darwin, but I expect that to be... moderately challenging. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make/platform/clang_linux.mk')
-rw-r--r--make/platform/clang_linux.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/make/platform/clang_linux.mk b/make/platform/clang_linux.mk
index 229430e33..b16e79444 100644
--- a/make/platform/clang_linux.mk
+++ b/make/platform/clang_linux.mk
@@ -112,12 +112,10 @@ LDFLAGS.asan-arm-android := $(LDFLAGS) $(ANDROID_COMMON_FLAGS) -ldl \
-Wl,-soname=libclang_rt.asan-arm-android.so
# Use our stub SDK as the sysroot to support more portable building. For now we
-# just do this for the non-ASAN modules, because the stub SDK doesn't have
-# enough support to build ASAN.
+# just do this for the core module, because the stub SDK doesn't have
+# enough support to build the sanitizers or profile runtimes.
CFLAGS.full-i386 += --sysroot=$(ProjSrcRoot)/SDKs/linux
CFLAGS.full-x86_64 += --sysroot=$(ProjSrcRoot)/SDKs/linux
-CFLAGS.profile-i386 += --sysroot=$(ProjSrcRoot)/SDKs/linux
-CFLAGS.profile-x86_64 += --sysroot=$(ProjSrcRoot)/SDKs/linux
FUNCTIONS.full-i386 := $(CommonFunctions) $(ArchFunctions.i386)
FUNCTIONS.full-x86_64 := $(CommonFunctions) $(ArchFunctions.x86_64)