From 1db74162e60668c4d3d391e3d539004980e03e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20A=2E=20Col=C3=B3n=20V=C3=A9lez?= Date: Fri, 7 Aug 2015 05:03:37 -0400 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- cmake/BuildParameters.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89df8d871f..4fcaaa3fcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index 73bcd9ec24..dadf7c8ab0 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -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()