about summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-02-07 15:49:09 +0000
committerRobin Gloster <mail@glob.in>2016-02-07 15:49:09 +0000
commit955a9a3be72c9911b5b4bf3dde72d14e362fe450 (patch)
tree6ff6f6b053d31c861a6772c3784c179e357c17ec /pkgs/development/misc
parent08caf7b6e43df52395ef86ed8192a7232a46f2e4 (diff)
downloadnixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar.gz
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar.bz2
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar.lz
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar.xz
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.tar.zst
nixlib-955a9a3be72c9911b5b4bf3dde72d14e362fe450.zip
avrgcclibc: turn off format hardening
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/avr-gcc-with-avr-libc/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix b/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
index cbd38903aac8..b27a6659004d 100644
--- a/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
+++ b/pkgs/development/misc/avr-gcc-with-avr-libc/default.nix
@@ -19,20 +19,22 @@ stdenv.mkDerivation {
         sha256 = "0sd9qkvhmk9av4g1f8dsjwc309hf1g0731bhvicnjb3b3d42l1n3";
     })
   ];
-  
+
   sourceRoot = ".";
 
   nativeBuildInputs = [ texinfo ];
-  
+
   buildInputs = [ gmp mpfr libmpc zlib ];
-  
+
+  hardening_format = false;
+
   # Make sure we don't strip the libraries in lib/gcc/avr.
   stripDebugList= [ "bin" "avr/bin" "libexec" ];
-  
+
   installPhase = ''
     # important, without this gcc won't find the binutils executables
     export PATH=$PATH:$out/bin
-    
+
     # Binutils.
     pushd binutils-*/
     mkdir obj-avr
@@ -64,7 +66,7 @@ stdenv.mkDerivation {
     make install
     popd
   '';
-  
+
   meta = with stdenv.lib; {
     description = "AVR development environment including binutils, avr-gcc and avr-libc";
     # I've tried compiling the packages separately.. too much hassle. This just works. Fine.