llvm.org GIT mirror llvm / 28ecd49
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 Bill Wendling 11 years ago
1 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
140140 echo "#define LLVM_VERSION ${RC_ProjectSourceVersion}" > $DEST_DIR$DEST_ROOT/include/llvm/Version.h
141141 echo "#define LLVM_MINOR_VERSION ${RC_ProjectSourceSubversion}" >> $DEST_DIR$DEST_ROOT/include/llvm/Version.h
142142
143 # Strip local symbols from llvm libraries.
144 strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa]
145 strip -Sx $DEST_DIR$DEST_ROOT/lib/*.so
143 if [ "x$LLVM_DEBUG" != "x1" ]; then
144 # Strip local symbols from llvm libraries.
145 strip -S $DEST_DIR$DEST_ROOT/lib/*.[oa]
146 strip -Sx $DEST_DIR$DEST_ROOT/lib/*.so
147 fi
146148
147149 # Remove .dir files
148150 cd $DEST_DIR$DEST_ROOT