Use a hardened stdenv by default

This commit is contained in:
Franz Pletz
2016-01-30 16:36:57 +00:00
committed by Robin Gloster
parent c5f092c6a7
commit 954e9903ad
51 changed files with 131 additions and 9 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g";
};
noHardening_format = true;
preConfigure = ''
# Fix for building on Glibc 2.16. Won't be needed once the
# gnulib in sharutils is updated.
+2
View File
@@ -9,6 +9,8 @@ stdenv.mkDerivation {
sha256 = "0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83";
};
noHardening_format = true;
patches = [
./CVE-2014-8139.diff
./CVE-2014-8140.diff
+2
View File
@@ -13,6 +13,8 @@ stdenv.mkDerivation {
sha256 = "0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h";
};
noHardening_format = true;
makefile = "unix/Makefile";
buildFlags = if stdenv.isCygwin then "cygwin" else "generic";
installFlags = "prefix=$(out) INSTALL=cp";