mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 07:50:26 +00:00
swr/rast: Fix one more invalid object format for windows.
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
61a790409e
commit
70f8eac603
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user