build: enable LTO on macOS
This commit is contained in:
parent
2c5d8ffe86
commit
93de534a9d
@ -43,7 +43,7 @@ function getConfigureArgs(major: number, targetPlatform: string): string[] {
|
|||||||
|
|
||||||
// Link Time Optimization
|
// Link Time Optimization
|
||||||
if (major >= 12) {
|
if (major >= 12) {
|
||||||
if (hostPlatform === 'linux' || hostPlatform === 'alpine') {
|
if (hostPlatform !== 'win') {
|
||||||
args.push('--enable-lto');
|
args.push('--enable-lto');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user