Merge pull request #26514 from LnL7/clang-gdb
gdb: disable format warnings
This commit is contained in:
commit
cdf05a7592
1 changed files with 2 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue