bintools-wrapper: Set ZERO_AR_DATE and re-enable LC_UUID on Darwin
The LC_UUID is a hash over the output file contents.
This commit is contained in:
parent
766839d4c3
commit
06edf25685
@ -309,10 +309,10 @@ stdenv.mkDerivation {
|
||||
''
|
||||
|
||||
###
|
||||
### Remove LC_UUID
|
||||
### Remove certain timestamps from final binaries
|
||||
###
|
||||
+ optionalString (stdenv.targetPlatform.isDarwin && !(bintools.isGNU or false)) ''
|
||||
echo "-no_uuid" >> $out/nix-support/libc-ldflags-before
|
||||
echo "export ZERO_AR_DATE=1" >> $out/nix-support/setup-hook
|
||||
''
|
||||
|
||||
+ ''
|
||||
|
Loading…
Reference in New Issue
Block a user