summaryrefslogtreecommitdiff
path: root/unittest/strings
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-14 20:57:48 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-15 12:51:35 +0100
commit5f078cc8ff1f8af979d8852bf62fa259f41b1f93 (patch)
tree30f618e92bd84a7fa5dec49c49d5108e7eb8381c /unittest/strings
parent2a4781789612c6c53cbe12c1426f93b15737a148 (diff)
downloadmariadb-git-5f078cc8ff1f8af979d8852bf62fa259f41b1f93.tar.gz
compilation errors on sparc sun studio 10
1. unused static inline functions are only removed at -xO4, otherwise test binaries will depend on various mysys symbols that they don't use. Link test with libmysys. 2. Sphinx - don't instantiate (explicitly) templates before they're defined. Or, rather, don't instantiate them explicitly at all. 3. GIS - don't use anonymous unions and structs.
Diffstat (limited to 'unittest/strings')
-rw-r--r--unittest/strings/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/strings/CMakeLists.txt b/unittest/strings/CMakeLists.txt
index 10791edfb61..245747538c9 100644
--- a/unittest/strings/CMakeLists.txt
+++ b/unittest/strings/CMakeLists.txt
@@ -1,3 +1,3 @@
-MY_ADD_TESTS(strings LINK_LIBRARIES strings)
+MY_ADD_TESTS(strings LINK_LIBRARIES strings mysys)