1
0
forked from ALHP/ALHP.GO

added packager to makepkg.conf

This commit is contained in:
2021-11-25 18:10:49 +01:00
parent 2ca7b81b3c
commit 5ea9065081

View File

@@ -803,6 +803,7 @@ func setupMakepkg(march string) error {
makepkgStr = strings.ReplaceAll(makepkgStr, "-O2", "-O3")
makepkgStr = strings.ReplaceAll(makepkgStr, "#MAKEFLAGS=\"-j2\"", "MAKEFLAGS=\"-j"+strconv.Itoa(conf.Build.Makej)+"\"")
makepkgStr = reMarch.ReplaceAllString(makepkgStr, "${1}"+march)
makepkgStr = strings.ReplaceAll(makepkgStr, "#PACKAGER=\"John Doe <john@doe.com>\"", "PACKAGER=\"ALHP "+march+" <alhp@harting.dev>\"")
// write non-lto makepkg
err = os.WriteFile(lMakepkg, []byte(makepkgStr), 0644)