]> git.pld-linux.org Git - packages/percona-server.git/blame - mysql-opt.patch
Up to 5.7.43-47
[packages/percona-server.git] / mysql-opt.patch
CommitLineData
dff4ae77
AM
1diff -urNp -x '*.orig' percona-server-5.7.31-34.org/cmake/build_configurations/compiler_options.cmake percona-server-5.7.31-34/cmake/build_configurations/compiler_options.cmake
2--- percona-server-5.7.31-34.org/cmake/build_configurations/compiler_options.cmake 2020-08-15 11:23:18.000000000 +0200
3+++ percona-server-5.7.31-34/cmake/build_configurations/compiler_options.cmake 2021-05-26 15:13:06.336651991 +0200
4@@ -32,17 +32,17 @@ IF(SIZEOF_VOIDP EQUAL 8)
96d361ce
JB
5 SET(64BIT 1)
6 ENDIF()
7
8-SET(CMAKE_CXX_STANDARD 98)
9+SET(CMAKE_CXX_STANDARD 11)
10
11 # Compiler options
12 IF(UNIX)
13- MY_CHECK_CXX_COMPILER_FLAG("-std=gnu++03" GNU03_SUPPORTED)
14+ MY_CHECK_CXX_COMPILER_FLAG("-std=gnu++11" GNU11_SUPPORTED)
15
16- IF(GNU03_SUPPORTED)
17+ IF(GNU11_SUPPORTED)
18 IF(CMAKE_VERSION VERSION_LESS 3.1.0)
19- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++03")
20+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
21 ELSE()
22- SET(CMAKE_CXX98_EXTENSION_COMPILE_OPTION -std=gnu++03)
23+ SET(CMAKE_CXX11_EXTENSION_COMPILE_OPTION -std=gnu++11)
24 ENDIF()
25 ENDIF()
26
a424de1c 27
This page took 0.105632 seconds and 5 git commands to generate.