diff options
Diffstat (limited to 'source/compiler-core/slang-gcc-compiler-util.cpp')
| -rw-r--r-- | source/compiler-core/slang-gcc-compiler-util.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/compiler-core/slang-gcc-compiler-util.cpp b/source/compiler-core/slang-gcc-compiler-util.cpp index f12f44338..a15e67750 100644 --- a/source/compiler-core/slang-gcc-compiler-util.cpp +++ b/source/compiler-core/slang-gcc-compiler-util.cpp @@ -735,6 +735,13 @@ static SlangResult _parseGCCFamilyLine( cmdLine.addArg(libPath); } + // Add compiler specific options from user. + for (auto compilerSpecificArg : options.compilerSpecificArguments) + { + const char* const arg = compilerSpecificArg; + cmdLine.addArg(arg); + } + return SLANG_OK; } |
