mysql55: fixup build with gcc7

This commit is contained in:
Vladimír Čunát 2018-03-02 09:20:11 +01:00
parent 5de8f99f03
commit 03eb06ae6e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -49,6 +49,7 @@ self = stdenv.mkDerivation rec {
"-DINSTALL_SHAREDIR=share/mysql"
];
NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; # since gcc-7
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
prePatch = ''