namecoin/ncdns

Binary size is way too big

JeremyRand opened this issue · 1 comments

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.

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.