godotengine/godot-build-scripts

Consider stripping Linux (and macOS) binaries

akien-mga opened this issue · 1 comments

Currently we only strip binaries for Windows, but not Linux and macOS.

This was reported as making builds too big, especially with Linux/Mono, in godotengine/godot#31660.

We already build with debug_symbols=no so I'm not sure what's the remaining data that can be stripped, but indeed on 3.2.2-stable templates:

-rwxr-xr-x 1 akien akien 39353001 Jun 16 13:49 linux_x11_64_release*
-rwxr-xr-x 1 akien akien 32528720 Jul 14 15:19 linux_x11_64_release_stripped*

Fixed by e0d7b61.