grsecurity: simplify preConfigure

This commit is contained in:
Joachim Fasting 2016-05-02 07:35:19 +02:00
parent a69501a936
commit 39db90eaf6
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -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
'';
};