Closed aorfanos closed 3 years ago
hey @stephen-soltesz , happy to contribute to such an amazing project :)
Regarding this:
-w -s -extldflags '-static'
The flags -w -s
are used to decrease image size by not including debugging information and the symbol table on the created executable.
Flag extldflags static
use was to create a static binary including libraries at build time, but after checking it does not contribute to the executable size reduction I have removed it.
Changes:
Size reduction ~45% (43.49%) from 28.51MB to 16.11MB.
This change is