use -fabi_version=6 only for GSdx, solve bug with wxwidget

reenable avx build for GSdx
This commit is contained in:
3kinox 2014-11-11 14:50:56 +01:00
parent 4991ef608d
commit 06f53b2689
3 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#set -e # This terminates the script in case of any error #set -e # This terminates the script in case of any error
arch64Build=$(uname -a | grep ARCH) arch64Build=$(uname -a | grep ARCH | grep x86_64)
if [[ -e "arch64Build" ]]; then if [[ -e "arch64Build" ]]; then
#add flags for archlinux #add flags for archlinux
flags=(-DCMAKE_BUILD_PO=FALSE -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8') flags=(-DCMAKE_BUILD_PO=FALSE -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8')

View File

@ -64,7 +64,7 @@ option(USE_ASAN "Enable address sanitizer")
# Select the architecture # Select the architecture
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
option(64BIT_BUILD_DONT_WORK "Enable a x86_64 build instead of cross compiling (WARNING: NOTHING WORK)" OFF) option(64BIT_BUILD_DONT_WORK "Enable a x86_64 build instead of cross compiling (WARNING: NOTHING WORK)" OFF)
option(DISABLE_ADVANCE_SIMD "Disable advance use of SIMD (SSE2+ & AVX)" ON) option(DISABLE_ADVANCE_SIMD "Disable advance use of SIMD (SSE2+ & AVX)" OFF)
# Architecture bitness detection # Architecture bitness detection
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)

View File

@ -19,6 +19,7 @@ set(CommonFlags
-Wno-unknown-pragmas -Wno-unknown-pragmas
-Wno-parentheses -Wno-parentheses
-Wunused-variable # __dummy variable need to be investigated -Wunused-variable # __dummy variable need to be investigated
-fabi-version=6
) )
set(OptimizationFlags set(OptimizationFlags