Skip to content

Commit

Permalink
mysql57: fix build with gcc7
Browse files Browse the repository at this point in the history
fixes #35692
  • Loading branch information
globin committed Mar 1, 2018
1 parent 452f9ca commit 6b05a22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/servers/sql/mysql/5.7.x.nix
Expand Up @@ -49,6 +49,7 @@ self = stdenv.mkDerivation rec {
"-DINSTALL_SHAREDIR=share/mysql"
];

CXXFLAGS = "-fpermissive";
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";

prePatch = ''
Expand Down

1 comment on commit 6b05a22

@vcunat
Copy link
Member

@vcunat vcunat commented on 6b05a22 Mar 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. My memory was bad in this case, apparently.

Please sign in to comment.