Revert lld changes.

Causing:

"==19==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed" everywhere

Revert "[infra] disabling unused command line argument error"

This reverts commit 4332b19a9f.

Revert "[infra] using lld. Fixes #295. (#297)"

This reverts commit 446a6a7534.
This commit is contained in:
Oliver Chang 2017-01-19 17:24:59 -08:00
parent 4332b19a9f
commit 49baa72f5b
2 changed files with 1 additions and 2 deletions

View File

@ -32,6 +32,6 @@ ENV CC "clang"
ENV CXX "clang++"
ENV CCC "clang++"
ENV CFLAGS "-g -fuse-ld=lld -Wno-error=unused-command-line-argument"
ENV CFLAGS "-g"
ENV CXXFLAGS_EXTRA "-stdlib=libc++"
ENV CXXFLAGS "$CFLAGS $CXXFLAGS_EXTRA"

View File

@ -21,7 +21,6 @@ apt-get install -y $LLVM_DEP_PACKAGES
# Checkout
cd $SRC && git clone --depth 1 http://llvm.org/git/llvm.git
cd $SRC/llvm/tools && git clone --depth 1 http://llvm.org/git/clang.git
cd $SRC/llvm/tools && git clone --depth 1 http://llvm.org/git/lld.git
cd $SRC/llvm/projects && git clone --depth 1 http://llvm.org/git/compiler-rt.git
cd $SRC/llvm/projects && git clone --depth 1 http://llvm.org/git/libcxx.git
cd $SRC/llvm/projects && git clone --depth 1 http://llvm.org/git/libcxxabi.git