Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@c36f7bf022] Ignore VS2017 linker warnin…
Browse files Browse the repository at this point in the history
…g LNK4221
  • Loading branch information
chakrabot authored and kfarnung committed Jun 5, 2017
1 parent 54d80bb commit 189106e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions deps/chakrashim/core/Build/Common.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<!--Disable midl timestamps wherever possible, razzle build already have this-->
<AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_stamp</AdditionalOptions>

<SuppressStartupBanner>true</SuppressStartupBanner>

<!-- Other defaults -->
Expand All @@ -25,7 +25,7 @@

<!-- ======== makefiledef ======== -->
<AdditionalOptions>%(AdditionalOptions) -sal</AdditionalOptions>

<!-- ======== sources.inc ======== -->
<!-- generates SAL annotations for our interface -->
<AdditionalOptions>%(AdditionalOptions) -sal_local</AdditionalOptions>
Expand All @@ -40,10 +40,10 @@

<!-- Add any preprocessor definitions passed using msbuild environment -->
<PreprocessorDefinitions Condition="'$(AdditionalPreprocessorDefinitions)'!=''">%(PreprocessorDefinitions);$(AdditionalPreprocessorDefinitions)</PreprocessorDefinitions>

<!-- MIDL generate code uses this define -->
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">%(PreprocessorDefinitions);_ARM_</PreprocessorDefinitions>

<!-- /W4 -->
<WarningLevel>Level4</WarningLevel>
<!-- /WX -->
Expand Down Expand Up @@ -102,7 +102,13 @@

<!-- Always set the checksum -->
<AdditionalOptions>%(AdditionalOptions) /release</AdditionalOptions>
<!-- Ignore Linker warning: This object file does not define any previously undefined public symbols -->
<AdditionalOptions>%(AdditionalOptions) /ignore:4221</AdditionalOptions>
</Link>
<Lib>
<!-- Ignore Linker warning: This object file does not define any previously undefined public symbols -->
<AdditionalOptions>%(AdditionalOptions) /ignore:4221</AdditionalOptions>
</Lib>
</ItemDefinitionGroup>
<!-- chk build flags -->
<ItemDefinitionGroup Condition="'$(OptimizedBuild)'!='true'">
Expand Down

0 comments on commit 189106e

Please sign in to comment.