From 59f7e4d2dc36684c5299decb16ec55ea9b65fcb4 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 11 May 2015 12:15:38 +0200 Subject: [PATCH] Revert "gsdx linux: drop aligned stack option" This reverts commit 2dcffe7fa438f32aa0690182f9a563184a0674bc. --- plugins/GSdx/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/CMakeLists.txt b/plugins/GSdx/CMakeLists.txt index 879f841808..7c815b6c3b 100644 --- a/plugins/GSdx/CMakeLists.txt +++ b/plugins/GSdx/CMakeLists.txt @@ -44,8 +44,11 @@ endif() #Clang doesn't support a few common flags that GCC does. if(NOT USE_CLANG) - # To support AVX1/AVX2 properly... set(GSdxFinalFlags ${GSdxFinalFlags} -fabi-version=6) + 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() set(GSdxSources