summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/4.3/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/gcc/4.3/default.nix')
-rw-r--r--pkgs/development/compilers/gcc/4.3/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/4.3/default.nix b/pkgs/development/compilers/gcc/4.3/default.nix
index 6114c960ffd..ecd841ca636 100644
--- a/pkgs/development/compilers/gcc/4.3/default.nix
+++ b/pkgs/development/compilers/gcc/4.3/default.nix
@@ -95,8 +95,7 @@ stdenv.mkDerivation ({
     ++ (optionals langVhdl [gnat])
     ;
 
-  hardening_format = false;
-  hardening_stackprotector = false;
+  hardeningDisable = [ "format" "stackprotector" ];
 
   configureFlags = "
     ${if enableMultilib then "" else "--disable-multilib"}