Browse Source

cc-wrapper: add-{flags,hardening} -> add-{flags,hardening}.sh

nixos-19.03
Robin Gloster 6 years ago
parent
commit
335d0097cf
  1. 0
      pkgs/build-support/cc-wrapper/add-flags.sh
  2. 0
      pkgs/build-support/cc-wrapper/add-hardening.sh
  3. 4
      pkgs/build-support/cc-wrapper/default.nix

0
pkgs/build-support/cc-wrapper/add-flags → pkgs/build-support/cc-wrapper/add-flags.sh

0
pkgs/build-support/cc-wrapper/add-hardening → pkgs/build-support/cc-wrapper/add-hardening.sh

4
pkgs/build-support/cc-wrapper/default.nix

@ -237,8 +237,8 @@ stdenv.mkDerivation {
cat $out/nix-support/setup-hook.tmp >> $out/nix-support/setup-hook
rm $out/nix-support/setup-hook.tmp
substituteAll ${./add-flags} $out/nix-support/add-flags.sh
cp -p ${./add-hardening} $out/nix-support/add-hardening.sh
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
cp -p ${./add-hardening.sh} $out/nix-support/add-hardening.sh
cp -p ${./utils.sh} $out/nix-support/utils.sh
''
+ extraBuildCommands;

Loading…
Cancel
Save