mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
crypto/sha1: add real workaround for msvc/arm64 bad codegen
This commit is contained in:
@ -136,6 +136,14 @@ add_library(common
|
||||
WorkQueueThread.h
|
||||
)
|
||||
|
||||
if(MSVC AND _M_ARM_64)
|
||||
# Workaround msvc arm64 optimizer bug
|
||||
# TODO remove after updating to VS 17.4
|
||||
set_source_files_properties(
|
||||
Crypto/SHA1.cpp
|
||||
PROPERTIES COMPILE_FLAGS "/d2ssa-peeps-post-color-")
|
||||
endif()
|
||||
|
||||
if(NOT MSVC AND _M_ARM_64)
|
||||
set_source_files_properties(
|
||||
Crypto/AES.cpp
|
||||
|
Reference in New Issue
Block a user