percona-server: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-02 23:31:29 +01:00
parent 39b4ad1a81
commit 74639e47a8
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
"-DINSTALL_SHAREDIR=share/mysql"
];
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
NIX_LDFLAGS = "-lgcc_s";
prePatch = ''