Skip to content

Commit

Permalink
grsecurity: simplify preConfigure
Browse files Browse the repository at this point in the history
  • Loading branch information
joachifm committed May 2, 2016
1 parent a69501a commit 39db90e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/build-support/grsecurity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ let
# additional build inputs for gcc plugins, required by some PaX/grsec features
nativeBuildInputs = args.nativeBuildInputs ++ (with pkgs; [ gmp libmpc mpfr ]);

preConfigure = args.preConfigure or "" + ''
rm localversion-grsec
preConfigure = (args.preConfigure or "") + ''
echo ${localver grkern} > localversion-grsec
'';
};
Expand Down

0 comments on commit 39db90e

Please sign in to comment.