diff --git a/runtime/Makefile b/runtime/Makefile index a1b89af3780..6e259678b28 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -7,6 +7,8 @@ # ##===----------------------------------------------------------------------===## +ifndef NO_RUNTIME_LIBS + LEVEL = .. include $(LEVEL)/Makefile.config @@ -22,3 +24,4 @@ include $(LEVEL)/Makefile.common install:: +endif diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 9b2d8d3a0c4..e432e5b7254 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -148,6 +148,7 @@ if [ "x$MAJ_VER" != "x4" -o "x$MIN_VER" != "x0" ]; then fi make $JOBS_FLAG $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \ + NO_RUNTIME_LIBS=1 \ LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \ LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \ CXXFLAGS="-DLLVM_VERSION_INFO='\" Apple Build #$LLVM_VERSION\"'" \ @@ -171,6 +172,7 @@ cd $DIR/obj-llvm || exit 1 # Install the tree into the destination directory. make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \ + NO_RUNTIME_LIBS=1 \ LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \ LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \ OPTIMIZE_OPTION='-O3' VERBOSE=1 install