add ldflags to cross-do script