percona-xtrabackup/percona-xtrabackup-gcc7-flags.patch

12 lines
715 B
Diff
Raw Normal View History

2017-02-17 19:33:58 +00:00
--- a/cmake/build_configurations/compiler_options.cmake 2016-11-25 04:05:53.000000000 -0500
+++ b/cmake/build_configurations/compiler_options.cmake 2017-02-17 12:20:04.708833670 -0500
@@ -34,7 +34,7 @@
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 ${COMMON_C_FLAGS}")
ENDIF()
IF(CMAKE_COMPILER_IS_GNUCXX)
- SET(COMMON_CXX_FLAGS "-g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing")
+ SET(COMMON_CXX_FLAGS "-g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -fpermissive")
# Disable inline optimizations for valgrind testing to avoid false positives
IF(WITH_VALGRIND)
SET(COMMON_CXX_FLAGS "-fno-inline ${COMMON_CXX_FLAGS}")