mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
cron: fix for cross ($CC, no 'install -s')
This commit is contained in:
parent
10aa7a9611
commit
11281bb54d
@ -14,7 +14,9 @@ stdenv.mkDerivation {
|
||||
preBuild = ''
|
||||
# do not set sticky bit in /nix/store
|
||||
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755 --replace 4755 0755
|
||||
makeFlags="DESTROOT=$out CC=cc"
|
||||
# do not strip during install, broken on cross and we'll do ourselves as needed
|
||||
substituteInPlace Makefile --replace ' -s cron' ' cron'
|
||||
makeFlags="DESTROOT=$out CC=$CC"
|
||||
|
||||
# We want to ignore the $glibc/include/paths.h definition of
|
||||
# sendmail path.
|
||||
|
Loading…
Reference in New Issue
Block a user