svn commit: r375832 - head/databases/mysql56-client/files

Alex Dupre ale at FreeBSD.org
Tue Dec 30 13:31:20 UTC 2014


Author: ale
Date: Tue Dec 30 13:31:19 2014
New Revision: 375832
URL: https://svnweb.freebsd.org/changeset/ports/375832
QAT: https://qat.redports.org/buildarchive/r375832/

Log:
  Drop gcc specific params from include flags.

Added:
  head/databases/mysql56-client/files/patch-cmake_build_configurations_compiler_options.cmake   (contents, props changed)

Added: head/databases/mysql56-client/files/patch-cmake_build_configurations_compiler_options.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mysql56-client/files/patch-cmake_build_configurations_compiler_options.cmake	Tue Dec 30 13:31:19 2014	(r375832)
@@ -0,0 +1,20 @@
+--- cmake/build_configurations/compiler_options.cmake.orig	2014-12-05 10:49:17.394216277 +0000
++++ cmake/build_configurations/compiler_options.cmake	2014-12-05 10:50:58.144209859 +0000
+@@ -25,7 +25,7 @@
+ 
+   # Default GCC flags
+   IF(CMAKE_COMPILER_IS_GNUCC)
+-    SET(COMMON_C_FLAGS               "-g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing")
++    SET(COMMON_C_FLAGS               "-g -fno-omit-frame-pointer -fno-strict-aliasing")
+     # Disable inline optimizations for valgrind testing to avoid false positives
+     IF(WITH_VALGRIND)
+       SET(COMMON_C_FLAGS             "-fno-inline ${COMMON_C_FLAGS}")
+@@ -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 -fno-omit-frame-pointer -fno-strict-aliasing")
+     # Disable inline optimizations for valgrind testing to avoid false positives
+     IF(WITH_VALGRIND)
+       SET(COMMON_CXX_FLAGS             "-fno-inline ${COMMON_CXX_FLAGS}")


More information about the svn-ports-head mailing list