summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-29 00:48:32 +0800
committerruki <[email protected]>2023-08-29 00:48:32 +0800
commit8fe8d75c330480b2be064ad877b9f9229fd43738 (patch)
tree48057b1d54282ec185d3aa8f05823bb12edfbcfb /xmake/modules/core/tools
parent0982061302c19837ee38daa48ecf6e80669464bc (diff)
add c++03
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 84b0aca4a..263f96c7b 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -211,6 +211,8 @@ function nf_language(self, stdname)
_g.cxxmaps = {
cxx98 = "-std=c++98"
, gnuxx98 = "-std=gnu++98"
+ , cxx03 = "-std=c++03"
+ , gnuxx03 = "-std=gnu++03"
, cxx11 = "-std=c++11"
, gnuxx11 = "-std=gnu++11"
, cxx14 = "-std=c++14"