diff options
Diffstat (limited to 'source/core/slang-gcc-compiler-util.cpp')
| -rw-r--r-- | source/core/slang-gcc-compiler-util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/core/slang-gcc-compiler-util.cpp b/source/core/slang-gcc-compiler-util.cpp index 3c4c4ec15..7838ca25b 100644 --- a/source/core/slang-gcc-compiler-util.cpp +++ b/source/core/slang-gcc-compiler-util.cpp @@ -511,6 +511,8 @@ static SlangResult _parseGCCFamilyLine(const UnownedStringSlice& line, LineParse for (const auto& define : options.defines) { StringBuilder builder; + + builder << "-D"; builder << define.nameWithSig; if (define.value.getLength()) { |
