summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2018-03-01 15:16:15 +0100
committerRobin Gloster <mail@glob.in>2018-03-01 15:16:15 +0100
commit6b05a22a5719a6d04e1ccb890901435f440f99e5 (patch)
tree7920a698875404c2fadaca2e5eb593bae8fbdd6f /pkgs/servers
parent452f9ca8eff7ab8d55998b005caf2f22e39d9abc (diff)
downloadnixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar.gz
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar.bz2
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar.lz
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar.xz
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.tar.zst
nixlib-6b05a22a5719a6d04e1ccb890901435f440f99e5.zip
mysql57: fix build with gcc7
fixes #35692
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/sql/mysql/5.7.x.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/sql/mysql/5.7.x.nix b/pkgs/servers/sql/mysql/5.7.x.nix
index 0b2778218760..0c04f910e5bb 100644
--- a/pkgs/servers/sql/mysql/5.7.x.nix
+++ b/pkgs/servers/sql/mysql/5.7.x.nix
@@ -49,6 +49,7 @@ self = stdenv.mkDerivation rec {
     "-DINSTALL_SHAREDIR=share/mysql"
   ];
 
+  CXXFLAGS = "-fpermissive";
   NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
 
   prePatch = ''