File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed 
src/coreclr/nativeaot/BuildIntegration Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 2828    <IlcSdkPath >$(CoreCLRAotSdkDir)</IlcSdkPath >
2929    <IlcFrameworkPath >$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkPath >
3030    <IlcFrameworkNativePath >$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkNativePath >
31+     <IlcCppLinkerCustomWarningRegularExpression >module compiled with /GL found</IlcCppLinkerCustomWarningRegularExpression >
3132    <NoWarn >$(NoWarn);IL1005;IL2122;IL3000;IL3001;IL3002;IL3003;IL3050;IL3051;IL3052;IL3053</NoWarn >
3233    <TrimMode >partial</TrimMode >
3334    <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.
372372    <!--  write linker script for lld (13+) to retain the __modules section --> 
373373    <WriteLinesToFile  File =" $(NativeIntermediateOutputPath)sections.ld"   Lines =" OVERWRITE_SECTIONS { __modules : { KEEP(*(__modules)) } }"   Overwrite =" true"   Condition =" '$(LinkerFlavor)' == 'lld' and '$(_LinkerVersion)' >  '12'"   />
374374
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)"   />
376379    <Exec  Command =" " $(CppLibCreator)"  @(CustomLibArg, ' ')"   Condition =" '$(_targetOS)' != 'win' and '$(NativeLib)' == 'Static'"   />
377380
378381    <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)"   />
380385    <WriteLinesToFile  File =" $(NativeIntermediateOutputPath)lib.rsp"   Lines =" @(CustomLibArg)"   Overwrite =" true"   Encoding =" utf-8"   Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' == 'Static'"   />
381386    <Exec  Command =" " $(CppLibCreator)"  @" $(NativeIntermediateOutputPath)lib.rsp" "   Condition =" '$(_targetOS)' == 'win' and '$(NativeLib)' == 'Static'"   />
382387
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments