summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-01-10 13:40:49 +0100
committerLinus Färnstrand <linus@mullvad.net>2018-01-10 13:40:49 +0100
commitc400b26b69c8d1d1a00a52ee2c043909500388e1 (patch)
tree8aec00ecaa64c3ab6c12db69269c8029ffa58574
parenta87c4b54d4350ed08687fb871910a1ee80fcfb0b (diff)
downloadmullvadvpn-c400b26b69c8d1d1a00a52ee2c043909500388e1.tar.xz
mullvadvpn-c400b26b69c8d1d1a00a52ee2c043909500388e1.zip
Make the release build script strip debugging symbols from the binaries
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index d646c02eb6..fb271444d5 100755
--- a/build.sh
+++ b/build.sh
@@ -5,3 +5,8 @@ set -e
export MACOSX_DEPLOYMENT_TARGET="10.7"
cargo +stable build --release
+
+# Strip debugging symbols from the binaries. This saves a lot of space.
+strip ./target/release/mullvad-daemon
+strip ./target/release/mullvad
+strip ./target/release/problem-report