From aa49ade8d4332a03b12a4af58b88cb30c9029729 Mon Sep 17 00:00:00 2001 From: Guy Shimko Date: Tue, 24 Dec 2024 21:35:11 +0200 Subject: [PATCH] Strip the executables in order to reduce their size --- src/compilation/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compilation/build.sh b/src/compilation/build.sh index 78181a4..24f7672 100755 --- a/src/compilation/build.sh +++ b/src/compilation/build.sh @@ -52,6 +52,9 @@ function set_compliation_variables() { export CFLAGS="-O2" export CXXFLAGS="-O2" + + # Strip the binary to reduce it's size. + export LDFLAGS="-s" } function set_ncurses_link_variables() {