Merge pull request #13 from Blizzard/pr7

Add C++11, C++14 flags for GCC & Clang
This commit is contained in:
starkos 2015-04-06 16:55:44 -04:00
commit f9d31fe0c2
2 changed files with 5 additions and 1 deletions

View File

@ -413,6 +413,8 @@
"Unsafe", -- DEPRECATED
"WinMain",
"WPF",
"C++11",
"C++14",
},
aliases = {
FatalWarnings = { "FatalWarnings", "FatalCompileWarnings", "FatalLinkWarnings" },

View File

@ -108,7 +108,9 @@
flags = {
NoExceptions = "-fno-exceptions",
NoRTTI = "-fno-rtti",
NoBufferSecurityCheck = "-fno-stack-protector"
NoBufferSecurityCheck = "-fno-stack-protector",
["C++11"] = "-std=c++11",
["C++14"] = "-std=c++14",
}
}