Move changelog to master. LDFLAGS should be set directly in a template's top level, instead of added to. Closes: #31894 [via git-merge-pr]