From 710b4ef9b6aa511f24d88d110f3c2891163dc54c Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sat, 14 Feb 2015 16:11:28 +0100 Subject: [PATCH 1/2] Add toolchain file for linux_x86 cross compiling --- cmake/linux_x86_toolchain.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmake/linux_x86_toolchain.cmake diff --git a/cmake/linux_x86_toolchain.cmake b/cmake/linux_x86_toolchain.cmake new file mode 100644 index 00000000..d3cb07cd --- /dev/null +++ b/cmake/linux_x86_toolchain.cmake @@ -0,0 +1,11 @@ +# toolchain file for building a 32bit version on a 64bit host + +# Usage: +# cmake -DCMAKE_TOOLCHAIN_FILE=linux_86.toolchain.cmake + +set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_SYSTEM_VERSION 1) +set(CMAKE_SYSTEM_PROCESSOR "i686") + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags") From de7fad901b551caf98f1febd0cb262cdc36a861c Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sat, 14 Feb 2015 16:14:04 +0100 Subject: [PATCH 2/2] Fixed name in README --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index b312882b..58f62ac0 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ -MariaDB Connector/ODBC 1.0 +MariaDB Connector/ODBC 2.0 alpha -This is a GA release of the MariaDB Connector/ODBC for Windows. +This is a GA release of the MariaDB Connector/ODBC. MariaDB Connector/ODBC is released under version 2.1 of the GNU Lesser Public License.