about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-02-08 23:07:09 +0000
committerRobin Gloster <mail@glob.in>2016-02-08 23:07:09 +0000
commitb0eedc4ecb97c8608cc9a7612a4c609a2abf62bf (patch)
treeeae5e4e463be5820bd396530ffc4392ed271a3b8
parent8fb28b21b461468a0eb72ba847da5cfe9e474ae9 (diff)
edk2: turn off fortify & format hardening
-rw-r--r--pkgs/development/compilers/edk2/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index f68681e60232c..cf4d0e4f02aad 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -11,7 +11,7 @@ else
 
 edk2 = stdenv.mkDerivation {
   name = "edk2-2014-12-10";
-  
+
   src = fetchgit {
     url = git://github.com/tianocore/edk2;
     rev = "684a565a04";
@@ -20,9 +20,10 @@ edk2 = stdenv.mkDerivation {
 
   buildInputs = [ libuuid pythonFull ];
 
-  buildPhase = ''
-    make -C BaseTools
-  '';
+  makeFlags = "-C BaseTools";
+
+  hardening_fortify = false;
+  hardening_format = false;
 
   installPhase = ''
     mkdir -vp $out