mirror of https://github.com/PCSX2/pcsx2.git
Cmake: what should have been the previous commit
This commit is contained in:
parent
05763b3669
commit
595ad99a5b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue