From 70f8eac603a75e6639994d5f4a727e94f870f964 Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Fri, 19 Jan 2018 15:46:56 -0600 Subject: [PATCH] swr/rast: Fix one more invalid object format for windows. Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2