Update the gcc version requirements.

It no longer builds with 4.6 and 4.7 since it requires features from 4.8.
Start using c++11 since we no longer support 4.5 & 4.6.
This commit is contained in:
Miguel A. Colón Vélez 2015-08-07 05:03:37 -04:00
parent 8a87981d94
commit 1db74162e6
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ include(Pcsx2Utils)
check_no_parenthesis_in_path()
detectOperatingSystem()
check_compiler_version("4.7" "4.5")
check_compiler_version("4.8" "4.8")
#-------------------------------------------------------------------------------
# Include specific module

View File

@ -226,7 +226,7 @@ endif()
#-------------------------------------------------------------------------------
# Set some default compiler flags
#-------------------------------------------------------------------------------
set(COMMON_FLAG "-pipe -std=c++0x -fvisibility=hidden -pthread")
set(COMMON_FLAG "-pipe -std=c++11 -fvisibility=hidden -pthread")
if (DISABLE_SVU)
set(COMMON_FLAG "${COMMON_FLAG} -DDISABLE_SVU")
endif()