summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2012-09-07 10:12:32 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2012-09-07 10:12:32 +0200
commitb143676297032ab143ae9f16e85151a5edb137cd (patch)
tree33f052b98a96e8bdff56c05aa40424c88dd2b229
parente7f38f11ebef5cb23a0b2665df8c008054d643d3 (diff)
downloadmariadb-git-b143676297032ab143ae9f16e85151a5edb137cd.tar.gz
Bug#14593123 CONFIGURE.PL WITH CMAKE2.8 BREAKS THE BUILD
Ignore --with-client-ldflags it's not supported by the cmake scripts anyways. Ignore --with-mysqld-ldflags it's only used with --with-mysqld-ldflags=-static and that doesn't work.
-rw-r--r--CMakeLists.txt1
-rw-r--r--cmake/configure.pl10
2 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a05727ae3a..ee8c73846aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
CMAKE_POLICY(VERSION 2.8)
endif()
+MESSAGE(STATUS "Running cmake version ${CMAKE_VERSION}")
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
diff --git a/cmake/configure.pl b/cmake/configure.pl
index 565de571452..dea641ef889 100644
--- a/cmake/configure.pl
+++ b/cmake/configure.pl
@@ -211,6 +211,16 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." -DENABLE_GCOV=ON";
next;
}
+ if ($option =~ /with-client-ldflags/)
+ {
+ print("configure.pl : ignoring $option\n");
+ next;
+ }
+ if ($option =~ /with-mysqld-ldflags=/)
+ {
+ print("configure.pl : ignoring $option\n");
+ next;
+ }
$option = uc($option);
$option =~ s/-/_/g;