Merge pull request #1598 from schellap/buildcpp

Add cpp compiler flags to build
This commit is contained in:
Senthil 2016-02-25 19:40:22 -08:00
commit 5d396aaa15

View file

@ -357,6 +357,12 @@ namespace Microsoft.DotNet.Tools.Build
args.Add("--cpp");
}
if (!string.IsNullOrWhiteSpace(_args.CppCompilerFlagsValue))
{
args.Add("--cppcompilerflags");
args.Add(_args.CppCompilerFlagsValue);
}
if (!string.IsNullOrWhiteSpace(_args.ArchValue))
{
args.Add("--arch");