diff options
author | Daniel Peebles <copumpkin@users.noreply.github.com> | 2016-10-13 15:57:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 15:57:19 -0400 |
commit | 9703a72f70033e570fd9c4eb4ea130dd44b0f61e (patch) | |
tree | 293833f9a52e204ce22f3727ccbd466b1c867032 /pkgs/development/tools/misc | |
parent | e4d3254101c9e3b94b3ba735c400426d3e7cf2bc (diff) | |
parent | c5a772815266fa8d6af0346e11a321a1c4bbc0f0 (diff) | |
download | nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar.gz nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar.bz2 nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar.lz nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar.xz nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.tar.zst nixlib-9703a72f70033e570fd9c4eb4ea130dd44b0f61e.zip |
Merge pull request #19495 from LnL7/darwin-gdb
gdb: disable format hardening
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/gdb/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index 60218bbb1ad4..da0447c49da8 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -43,6 +43,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # darwin build fails with format hardening since v7.12 + hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ]; + 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}" |