mirror of https://github.com/PCSX2/pcsx2.git
cmake: no preferred-stack-option in asan
It conflicts with the global definition I don't remember why this option was set on GSdx. Potentially it could be dropped (or fixed correctly) Anyway, it will help to enable Address Sanitizer on Linux Build
This commit is contained in:
parent
866f052e34
commit
e0f56282de
|
@ -45,7 +45,8 @@ endif()
|
|||
#Clang doesn't support a few common flags that GCC does.
|
||||
if(NOT USE_CLANG)
|
||||
set(GSdxFinalFlags ${GSdxFinalFlags} -fabi-version=6)
|
||||
if (_M_X86_32)
|
||||
if (_M_X86_32 AND NOT USE_ASAN)
|
||||
# Someone need to seriously test the build of GSdx without this option
|
||||
set(GSdxFinalFlags ${GSdxFinalFlags} -mpreferred-stack-boundary=2)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue