build_proton: Don't strip by default

This commit is contained in:
Andrew Eikum 2018-02-15 10:27:09 -06:00
parent 5cef7459dc
commit 6ae0931fd2

View File

@ -11,21 +11,24 @@ TOP="$PWD"
PLATFORM=$(uname) PLATFORM=$(uname)
if [ "$PLATFORM" == "Darwin" ]; then if [ "$PLATFORM" == "Darwin" ]; then
CC="ccache clang -g" CC="ccache clang -g"
STRIPFLAGS=''
AMD64_WRAPPER="" AMD64_WRAPPER=""
I386_WRAPPER="" I386_WRAPPER=""
else else
CC="ccache gcc -g" CC="ccache gcc -g"
STRIPFLAGS='-s'
AMD64_WRAPPER="schroot --chroot steamrt_scout_beta_amd64 --" AMD64_WRAPPER="schroot --chroot steamrt_scout_beta_amd64 --"
I386_WRAPPER="schroot --chroot steamrt_scout_beta_i386 --" I386_WRAPPER="schroot --chroot steamrt_scout_beta_i386 --"
fi fi
if [ "$1" == "--release" ]; then
STRIP='strip' STRIP='strip'
if [ "$1" == "--debug" ]; then if [ "$PLATFORM" == "Darwin" ]; then
#don't strip
STRIPFLAGS='' STRIPFLAGS=''
else
STRIPFLAGS='-s'
fi
else
STRIP='' STRIP=''
STRIPFLAGS=''
fi fi
DST_DIR="$TOP/build/dist" DST_DIR="$TOP/build/dist"