put LDFLAGS at the end of cmd for target compiling