git.iko.soy/typeable/nixpkgs
on master help sign in
gdb: disable format hardening
commitc5a772815266fa8d6af0346e11a321a1c4bbc0f0 authorDaiderd Jordan <daiderd@gmail.com> dateWed 12 Oct 2016, 23:18 (10 years ago) parentd4a22b4
1 file changed+3
pkgs/development/tools/misc/gdb/default.nix+3
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}"