mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-03 23:05:59 +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;
|
||||
}
|
||||
|
||||
var ltoType = workspaceOptions.mLTOType;
|
||||
if (options.mBeefOptions.mLTOType != null)
|
||||
ltoType = options.mBeefOptions.mLTOType.Value;
|
||||
BuildOptions.LTOType ltoType = .None;
|
||||
|
||||
if (!bfCompiler.mIsResolveOnly)
|
||||
{
|
||||
ltoType = workspaceOptions.mLTOType;
|
||||
if (options.mBeefOptions.mLTOType != null)
|
||||
ltoType = options.mBeefOptions.mLTOType.Value;
|
||||
}
|
||||
|
||||
var targetType = project.mGeneralOptions.mTargetType;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue