File tree 2 files changed +8
-2
lines changed
src/coreclr/nativeaot/BuildIntegration
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 28
28
<IlcSdkPath >$(CoreCLRAotSdkDir)</IlcSdkPath >
29
29
<IlcFrameworkPath >$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkPath >
30
30
<IlcFrameworkNativePath >$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkNativePath >
31
+ <IlcCppLinkerCustomWarningRegularExpression >module compiled with /GL found</IlcCppLinkerCustomWarningRegularExpression >
31
32
<NoWarn >$(NoWarn);IL1005;IL2122;IL3000;IL3001;IL3002;IL3003;IL3050;IL3051;IL3052;IL3053</NoWarn >
32
33
<TrimMode >partial</TrimMode >
33
34
<SuppressTrimAnalysisWarnings >true</SuppressTrimAnalysisWarnings >
Original file line number Diff line number Diff line change @@ -372,11 +372,16 @@ The .NET Foundation licenses this file to you under the MIT license.
372
372
<!-- write linker script for lld (13+) to retain the __modules section -->
373
373
<WriteLinesToFile File =" $(NativeIntermediateOutputPath)sections.ld" Lines =" OVERWRITE_SECTIONS { __modules : { KEEP(*(__modules)) } }" Overwrite =" true" Condition =" '$(LinkerFlavor)' == 'lld' and '$(_LinkerVersion)' > '12'" />
374
374
375
- <Exec Command =" " $(CppLinker)" @(CustomLinkerArg, ' ')" Condition =" '$(_targetOS)' != 'win' and '$(NativeLib)' != 'Static'" IgnoreStandardErrorWarningFormat =" $(_IgnoreLinkerWarnings)" />
375
+ <Exec Command =" " $(CppLinker)" @(CustomLinkerArg, ' ')"
376
+ Condition =" '$(_targetOS)' != 'win' and '$(NativeLib)' != 'Static'"
377
+ IgnoreStandardErrorWarningFormat =" $(_IgnoreLinkerWarnings)"
378
+ CustomWarningRegularExpression =" $(IlcCppLinkerCustomWarningRegularExpression)" />
376
379
<Exec Command =" " $(CppLibCreator)" @(CustomLibArg, ' ')" Condition =" '$(_targetOS)' != 'win' and '$(NativeLib)' == 'Static'" />
377
380
378
381
<WriteLinesToFile File =" $(NativeIntermediateOutputPath)link.rsp" Lines =" @(CustomLinkerArg)" Overwrite =" true" Encoding =" utf-8" Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' != 'Static'" />
379
- <Exec Command =" " $(CppLinker)" @" $(NativeIntermediateOutputPath)link.rsp" " Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' != 'Static'" />
382
+ <Exec Command =" " $(CppLinker)" @" $(NativeIntermediateOutputPath)link.rsp" "
383
+ Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' != 'Static'"
384
+ CustomWarningRegularExpression =" $(IlcCppLinkerCustomWarningRegularExpression)" />
380
385
<WriteLinesToFile File =" $(NativeIntermediateOutputPath)lib.rsp" Lines =" @(CustomLibArg)" Overwrite =" true" Encoding =" utf-8" Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' == 'Static'" />
381
386
<Exec Command =" " $(CppLibCreator)" @" $(NativeIntermediateOutputPath)lib.rsp" " Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' == 'Static'" />
382
387
You can’t perform that action at this time.
0 commit comments