Skip to content

Commit aa49ade

Browse files
committed
Strip the executables in order to reduce their size
1 parent 1dfe3fa commit aa49ade

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/compilation/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ function set_compliation_variables() {
5252

5353
export CFLAGS="-O2"
5454
export CXXFLAGS="-O2"
55+
56+
# Strip the binary to reduce it's size.
57+
export LDFLAGS="-s"
5558
}
5659

5760
function set_ncurses_link_variables() {

0 commit comments

Comments
 (0)