Merge pull request #19495 from LnL7/darwin-gdb
gdb: disable format hardening
commit9703a72f70033e570fd9c4eb4ea130dd44b0f61e
authorDaniel Peebles <copumpkin@users.noreply.github.com>
dateThu 13 Oct 2016, 15:57 (10 years ago)
parente4d3254c5a7728
pkgs/development/tools/misc/gdb/default.nix+3
@@ -43,6 +43,9 @@ stdenv.mkDerivation rec {
4343
4444 enableParallelBuilding = true;
4545
46+ # darwin build fails with format hardening since v7.12
47+ hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ];
48+
4649 configureFlags = with stdenv.lib;
4750 [ "--with-gmp=${gmp.dev}" "--with-mpfr=${mpfr.dev}" "--with-system-readline"
4851 "--with-system-zlib" "--with-expat" "--with-libexpat-prefix=${expat.dev}"