added -falign-functions=32
This commit is contained in:
3
utils.go
3
utils.go
@@ -622,7 +622,8 @@ func setupMakepkg(march string) {
|
|||||||
|
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "")
|
makepkgStr = strings.ReplaceAll(makepkgStr, "-mtune=generic", "")
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, "!lto", "")
|
makepkgStr = strings.ReplaceAll(makepkgStr, "!lto", "")
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, "-O2", "-O3")
|
// Add align-functions=32, see https://github.com/InBetweenNames/gentooLTO/issues/164 for more
|
||||||
|
makepkgStr = strings.ReplaceAll(makepkgStr, "-O2", "-O3 -falign-functions=32")
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ")
|
makepkgStr = strings.ReplaceAll(makepkgStr, " check ", " !check ")
|
||||||
makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")
|
makepkgStr = strings.ReplaceAll(makepkgStr, " color ", " !color ")
|
||||||
// Add LTO. Since it's (!lto) not in devtools yet, add it instead.
|
// Add LTO. Since it's (!lto) not in devtools yet, add it instead.
|
||||||
|
Reference in New Issue
Block a user