diff options
Diffstat (limited to 'source/core/unix')
| -rw-r--r-- | source/core/unix/slang-unix-cpp-compiler-util.cpp | 8 | ||||
| -rw-r--r-- | source/core/unix/slang-unix-cpp-compiler-util.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/core/unix/slang-unix-cpp-compiler-util.cpp b/source/core/unix/slang-unix-cpp-compiler-util.cpp index a5459b665..9217c6d52 100644 --- a/source/core/unix/slang-unix-cpp-compiler-util.cpp +++ b/source/core/unix/slang-unix-cpp-compiler-util.cpp @@ -14,11 +14,11 @@ namespace Slang { -/* static */void UnixCPPCompilerUtil::calcArgs(const CPPCompileOptions& options, CommandLine& cmdLine) +/* static */void UnixCPPCompilerUtil::calcArgs(const CPPCompiler::CompileOptions& options, CommandLine& cmdLine) { - typedef CPPCompileOptions::OptimizationLevel OptimizationLevel; - typedef CPPCompileOptions::TargetType TargetType; - typedef CPPCompileOptions::DebugInfoType DebugInfoType; + typedef CPPCompiler::OptimizationLevel OptimizationLevel; + typedef CPPCompiler::TargetType TargetType; + typedef CPPCompiler::DebugInfoType DebugInfoType; cmdLine.addArg("-fvisibility=hidden"); // Use shared libraries diff --git a/source/core/unix/slang-unix-cpp-compiler-util.h b/source/core/unix/slang-unix-cpp-compiler-util.h index 03c1b5e2e..42886e5eb 100644 --- a/source/core/unix/slang-unix-cpp-compiler-util.h +++ b/source/core/unix/slang-unix-cpp-compiler-util.h @@ -16,7 +16,7 @@ struct UnixCPPCompilerUtil static SlangResult executeCompiler(const CommandLine& commandLine, ExecuteResult& outResult); /// Calculate the command line args - static void calcArgs(const CPPCompileOptions& options, CommandLine& cmdLine); + static void calcArgs(const CPPCompiler::CompileOptions& options, CommandLine& cmdLine); }; } // namespace Slang |
