diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-03-22 21:57:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-03-22 21:57:15 +0000 |
commit | 6e4b7cf271eb2dc325d7fe79c0cce6171193781b (patch) | |
tree | f69defe6b5ff97dc0e977ab52dd04c935e63c20d | |
parent | 62a51e434385d9758e994bcb649a226a9198829e (diff) | |
download | external_llvm-6e4b7cf271eb2dc325d7fe79c0cce6171193781b.zip external_llvm-6e4b7cf271eb2dc325d7fe79c0cce6171193781b.tar.gz external_llvm-6e4b7cf271eb2dc325d7fe79c0cce6171193781b.tar.bz2 |
Don't strip things when we're doing a debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48696 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/buildit/build_llvm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index b6d0cb7..c4bf69f 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -141,9 +141,11 @@ fi echo "#define LLVM_VERSION ${RC_ProjectSourceVersion}" > $DEST_DIR$DEST_ROOT/include/llvm/Version.h echo "#define LLVM_MINOR_VERSION ${RC_ProjectSourceSubversion}" >> $DEST_DIR$DEST_ROOT/include/llvm/Version.h -# Strip local symbols from llvm libraries. -strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa] -strip -Sx $DEST_DIR$DEST_ROOT/lib/*.so +if [ "x$LLVM_DEBUG" != "x1" ]; then + # Strip local symbols from llvm libraries. + strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa] + strip -Sx $DEST_DIR$DEST_ROOT/lib/*.so +fi # Remove .dir files cd $DEST_DIR$DEST_ROOT |