From: George Kyriazis Date: Fri, 19 Jan 2018 21:46:56 +0000 (-0600) Subject: swr/rast: Fix one more invalid object format for windows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70f8eac603a75e6639994d5f4a727e94f870f964;p=mesa.git swr/rast: Fix one more invalid object format for windows. Reviewed-by: Bruce Cherniak --- 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