Merge pull request #26514 from LnL7/clang-gdb

gdb: disable format warnings
This commit is contained in:
Eelco Dolstra 2017-06-12 11:53:18 +02:00 committed by GitHub
commit cdf05a7592

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}"