Skip to content

Commit 17346ca

Browse files
authored
Merge pull request #23 from guyush1/reduce-static-python-size
reduce static gdb python size
2 parents c44e675 + aa49ade commit 17346ca

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
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)