summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2018-01-19 15:46:56 -0600
committerGeorge Kyriazis <[email protected]>2018-01-19 16:48:41 -0600
commit70f8eac603a75e6639994d5f4a727e94f870f964 (patch)
tree202be6976c85b4c818988c6256927b28e767eece /src
parent61a790409e3625e8a124fe6dfac394e837f31179 (diff)
swr/rast: Fix one more invalid object format for windows.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
index 508bc027dd9..40ca6441213 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
@@ -178,7 +178,7 @@ void JitManager::SetupNewModule()
#if defined(_WIN32)
// Needed for MCJIT on windows
Triple hostTriple(sys::getProcessTriple());
- hostTriple.setObjectFormat(Triple::ELF);
+ hostTriple.setObjectFormat(Triple::COFF);
newModule->setTargetTriple(hostTriple.getTriple());
#endif // _WIN32