mysql57: fix build with gcc7

fixes #35692
This commit is contained in:
Robin Gloster 2018-03-01 15:16:15 +01:00
parent 452f9ca8ef
commit 6b05a22a57
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

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