diff options
Diffstat (limited to 'source/slang/options.cpp')
| -rw-r--r-- | source/slang/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/options.cpp b/source/slang/options.cpp index a87692700..6b21798f5 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -262,6 +262,10 @@ struct OptionsParser { flags |= SLANG_COMPILE_FLAG_USE_IR; } + else if(argStr == "-no-mangle" ) + { + flags |= SLANG_COMPILE_FLAG_NO_MANGLING; + } else if (argStr == "-backend" || argStr == "-target") { String name = tryReadCommandLineArgument(arg, &argCursor, argEnd); |
