From 70622e24effd147a1d3e6206607f73ccdba33e8f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 22 May 2015 13:43:22 +0000 Subject: Revert "main/llvm: update patchset, switch to cmake, perform two-stage build with a minimal bootstrap compile of clang, add clang extras, update package list to split out clang documentation" This reverts commit 81d1b43c5af39e14cb91232c4afcb7839b96f5a1. --- .../compiler-rt-3.6-musl-disable-sanitizers.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 main/llvm/compiler-rt-3.6-musl-disable-sanitizers.patch (limited to 'main/llvm/compiler-rt-3.6-musl-disable-sanitizers.patch') diff --git a/main/llvm/compiler-rt-3.6-musl-disable-sanitizers.patch b/main/llvm/compiler-rt-3.6-musl-disable-sanitizers.patch new file mode 100644 index 0000000000..c37490ca3f --- /dev/null +++ b/main/llvm/compiler-rt-3.6-musl-disable-sanitizers.patch @@ -0,0 +1,34 @@ +Unfortunately, the sanitizer functionality depends on a variety of GNU +extensions and headers that simply don't exist on a musl based system. Fixing +this would be a fairly complicated task, though some inspiration could be taken +from dpkg's static 'libcompat' approach of supplying equivalent functionality +that might be missing. A task for another day perhaps. + +diff --git a/lib/Makefile.mk b/lib/Makefile.mk +index ed9690d..aacb2b1 100644 +--- a/lib/Makefile.mk ++++ b/lib/Makefile.mk +@@ -7,16 +7,16 @@ + # + #===------------------------------------------------------------------------===# + + SubDirs := + + # Add submodules. +-SubDirs += asan ++# SubDirs += asan + SubDirs += builtins +-SubDirs += dfsan ++# SubDirs += dfsan + SubDirs += interception +-SubDirs += lsan +-SubDirs += msan ++# SubDirs += lsan ++# SubDirs += msan + SubDirs += profile +-SubDirs += sanitizer_common +-SubDirs += tsan +-SubDirs += ubsan ++# SubDirs += sanitizer_common ++# SubDirs += tsan ++# SubDirs += ubsan -- cgit v1.2.3