gdb: disable format warnings

Fixes #26145
This commit is contained in:
Daiderd Jordan 2017-06-11 11:34:17 +02:00
parent c4dbc30213
commit ca490a6290
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
# darwin build fails with format hardening since v7.12
hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ];
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
configureFlags = with stdenv.lib; [
"--with-gmp=${gmp.dev}" "--with-mpfr=${mpfr.dev}" "--with-system-readline"
"--with-system-zlib" "--with-expat" "--with-libexpat-prefix=${expat.dev}"