Huge binary size of core binaries (mongod, mongo)

scons does not have a --strip-debug parameter. I suggest using the objcopy command to strip the binaries after building them, by passing the --strip-debug flag to it:
objcopy --strip-debug <the mongod binary>

1 Like