Merge pull request #176453 from trofi/workaround-fno-common-for-percona-xtrabackup_2_4
percona-xtrabackup_2_4: add -fcommon workaround
This commit is contained in:
commit
441d55e6f1
@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = extraPatches;
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: xbstream.c.o:(.bss+0x0): multiple definition of
|
||||
# `datasink_buffer'; ds_buffer.c.o:(.data.rel.local+0x0): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
||||
"-DBUILD_CONFIG=xtrabackup_release"
|
||||
|
Loading…
Reference in New Issue
Block a user