From f22880408ea8661529b2760c21ecb82f70463801 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Tue, 25 Jun 2013 09:59:19 +0300 Subject: [PATCH] Kindly ask strip to not mess up timestamps in static libraries --- pkgs/stdenv/generic/setup-repeatable.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/setup-repeatable.sh b/pkgs/stdenv/generic/setup-repeatable.sh index 8247ede3e46f..3b2e01519320 100644 --- a/pkgs/stdenv/generic/setup-repeatable.sh +++ b/pkgs/stdenv/generic/setup-repeatable.sh @@ -724,12 +724,12 @@ fixupPhase() { if [ -z "$dontStrip" ]; then stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin} if [ -n "$stripDebugList" ]; then - stripDirs "$stripDebugList" "${stripDebugFlags:--S}" + stripDirs "$stripDebugList" "${stripDebugFlags:--S --enable-deterministic-archives}" fi stripAllList=${stripAllList:-} if [ -n "$stripAllList" ]; then - stripDirs "$stripAllList" "${stripAllFlags:--s}" + stripDirs "$stripAllList" "${stripAllFlags:--s --enable-deterministic-archives}" fi fi