Cmake: what should have been the previous commit

This commit is contained in:
Gregory Hainaut 2017-05-12 19:38:51 +02:00
parent 05763b3669
commit 595ad99a5b
1 changed files with 2 additions and 6 deletions

View File

@ -20,6 +20,8 @@ if(USE_ICC)
set(CommonFlags "${CommonFlags} -restrict")
endif()
set(GSdxFinalFlags ${CommonFlags})
if(CMAKE_COMPILER_IS_GNUCXX)
# Newer version default to a correct ABI
if (${GCC_VERSION} VERSION_LESS "5.1")
@ -31,12 +33,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif()
endif()
set(GSdxFinalFlags ${CommonFlags})
if(CMAKE_COMPILER_IS_GNUCXX AND (${GCC_VERSION} VERSION_LESS "5.0"))
set(GSdxFinalFlags ${GSdxFinalFlags} -fabi-version=6)
endif()
if(XDG_STD)
set(GSdxFinalFlags ${GSdxFinalFlags} -DXDG_STD)
endif()