namecoin / ncdns

:globe_with_meridians: Namecoin to DNS bridge daemon
https://www.namecoin.org/
GNU General Public License v3.0
134 stars 41 forks source link

Binary size is way too big #96

Open JeremyRand opened 5 years ago

JeremyRand commented 5 years ago

Adding ncdns and dns-prop279 to an Electrum-NMC+txtorcon .tar.xz archive increases the archive's size by 4.6 MiB. (Both Go programs were built for linux/amd64 with Go 1.10.3) This is way too high. It would be highly useful if we could find some way to decrease the binary size here.

JeremyRand commented 5 years ago

Looks like building with -ldflags '-s', which is already done by ncdns-repro, cuts the .tar.xz from 4.6 MiB to 2.8 MiB.