summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-27 23:43:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-27 23:43:28 +0000
commitb562b47deeb163d3c854b2d9670bf38a37b7816e (patch)
treea4e6067f87d0dea811acf602cdd32f84590630e8
parent0c80be59c7ccbd844b5dee71b038090052cac07b (diff)
downloadllvm-b562b47deeb163d3c854b2d9670bf38a37b7816e.tar.gz
llvm-b562b47deeb163d3c854b2d9670bf38a37b7816e.tar.bz2
llvm-b562b47deeb163d3c854b2d9670bf38a37b7816e.tar.xz
Don't build runtime libraries in an Apple style build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80303 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--runtime/Makefile3
-rwxr-xr-xutils/buildit/build_llvm2
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index a1b89af378..6e259678b2 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 9b2d8d3a0c..e432e5b725 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