mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
mysql55: fixup build with gcc7
This commit is contained in:
parent
5de8f99f03
commit
03eb06ae6e
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user