SHA256
1
0
forked from pool/mariadb

Accepting request 587686 from home:oertel:branches:server:database

- fix build on aarch64: compile a few more files with -O0
  from https://jira.mariadb.org/browse/MDEV-14318
  add patch mariadb-10.2.13-aarch_compilefix.patch

OBS-URL: https://build.opensuse.org/request/show/587686
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=209
This commit is contained in:
Martin Pluskal 2018-03-16 08:47:53 +00:00 committed by Git OBS Bridge
parent 401d035448
commit 99cf6cd6d2
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- mariadb-10.2.13/storage/innobase/CMakeLists.txt 2018/03/13 23:32:34 1.1
+++ mariadb-10.2.13/storage/innobase/CMakeLists.txt 2018/03/13 23:33:42
@@ -175,7 +175,10 @@
btr/btr0btr.cc
btr/btr0cur.cc
buf/buf0buf.cc
+ fts/fts0fts.cc
gis/gis0sea.cc
+ handler/handler0alter.cc
+ row/row0mysql.cc
COMPILE_FLAGS "-O0"
)
ENDIF()

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 14 00:35:11 CET 2018 - ro@suse.de
- fix build on aarch64: compile a few more files with -O0
from https://jira.mariadb.org/browse/MDEV-14318
add patch mariadb-10.2.13-aarch_compilefix.patch
-------------------------------------------------------------------
Tue Feb 27 14:13:50 UTC 2018 - rsalevsky@suse.com

View File

@ -82,6 +82,7 @@ Patch10: mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
Patch11: mariadb-10.2.9-galera_cnf.patch
Patch12: mariadb-10.2.10-disable_openssl_compatibility_check.patch
Patch13: mariadb-10.2.14-xtrabackup-v2.patch
Patch14: mariadb-10.2.13-aarch_compilefix.patch
BuildRequires: bison
BuildRequires: cmake
BuildRequires: dos2unix
@ -342,6 +343,13 @@ applications with MariaDB.
%patch11 -p1
%patch12 -p1
%patch13 -p1
%ifarch aarch64
%if 0%{?suse_version} == 1315
# gcc48 on sle12 on aarch64 has some optimisation issues
# add some more files to the list of sources compiled with -O0
%patch14 -p1
%endif
%endif
cp %{_sourcedir}/suse-test-run .