Skip to content

Commit

Permalink
grsecurity: simplify preConfigure
Browse files Browse the repository at this point in the history
(cherry picked from commit 39db90e)
  • Loading branch information
joachifm committed Jun 9, 2016
1 parent f1d7572 commit 0e0bb8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/build-support/grsecurity/default.nix
Expand Up @@ -123,8 +123,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 0e0bb8a

Please sign in to comment.