mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Fixed LTO error in ResolveOnly
This commit is contained in:
parent
b8437bc67c
commit
598765d437
1 changed files with 8 additions and 3 deletions
|
@ -8099,9 +8099,14 @@ namespace IDE
|
||||||
optimizationLevel = .O0;
|
optimizationLevel = .O0;
|
||||||
}
|
}
|
||||||
|
|
||||||
var ltoType = workspaceOptions.mLTOType;
|
BuildOptions.LTOType ltoType = .None;
|
||||||
if (options.mBeefOptions.mLTOType != null)
|
|
||||||
ltoType = options.mBeefOptions.mLTOType.Value;
|
if (!bfCompiler.mIsResolveOnly)
|
||||||
|
{
|
||||||
|
ltoType = workspaceOptions.mLTOType;
|
||||||
|
if (options.mBeefOptions.mLTOType != null)
|
||||||
|
ltoType = options.mBeefOptions.mLTOType.Value;
|
||||||
|
}
|
||||||
|
|
||||||
var targetType = project.mGeneralOptions.mTargetType;
|
var targetType = project.mGeneralOptions.mTargetType;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue