diff options
author | Tijoy Tom <tijoytom@users.noreply.github.com> | 2017-03-08 00:17:32 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-03-08 00:17:32 +0300 |
commit | d1189c8bb7520ccfd915303b14a50f9bb5754706 (patch) | |
tree | 0ace972f305e4cf005e6793721c3262297c4d380 /src/BuildIntegration | |
parent | 66e41abf9f3833249aa5bd54cb8cf6e26df3bdeb (diff) |
Add -g flag for Debug configuration (#2914)
Diffstat (limited to 'src/BuildIntegration')
-rw-r--r-- | src/BuildIntegration/Microsoft.NETCore.Native.Unix.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props b/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props index 73b80ba78..ecdc94e1e 100644 --- a/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props +++ b/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props @@ -25,7 +25,7 @@ See the LICENSE file in the project root for more information. <ItemGroup> <CppCompilerAndLinkerArg Include="-I $(IlcPath)/inc" /> - <CppCompilerAndLinkerArg Condition="'$(Configuration)' == 'Debug'" Include="-O0" /> + <CppCompilerAndLinkerArg Condition="'$(Configuration)' == 'Debug'" Include="-g -O0" /> <CppCompilerAndLinkerArg Condition="'$(Configuration)' != 'Debug'" Include="-O2" /> <CppCompilerAndLinkerArg Include="-c -Wno-invalid-offsetof" /> <CppCompilerAndLinkerArg Include="$(AdditionalCppCompilerFlags)" /> |