mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 23:55:52 +03:00
build_proton: Don't strip by default
This commit is contained in:
parent
5cef7459dc
commit
6ae0931fd2
@ -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
|
||||||
|
|
||||||
STRIP='strip'
|
if [ "$1" == "--release" ]; then
|
||||||
if [ "$1" == "--debug" ]; then
|
STRIP='strip'
|
||||||
#don't strip
|
if [ "$PLATFORM" == "Darwin" ]; then
|
||||||
STRIPFLAGS=''
|
STRIPFLAGS=''
|
||||||
|
else
|
||||||
|
STRIPFLAGS='-s'
|
||||||
|
fi
|
||||||
|
else
|
||||||
STRIP=''
|
STRIP=''
|
||||||
|
STRIPFLAGS=''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DST_DIR="$TOP/build/dist"
|
DST_DIR="$TOP/build/dist"
|
||||||
|
Loading…
Reference in New Issue
Block a user