about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2013-06-25 09:59:19 +0300
committerEvgeny Egorochkin <phreedom@yandex.ru>2013-06-25 11:15:45 +0300
commitf22880408ea8661529b2760c21ecb82f70463801 (patch)
tree903f9ebb9a7f62e2ea13f97648121aad56ecde77 /pkgs/stdenv
parent86d14a5ab2dec0981b51cac8b2223bd29906a99b (diff)
downloadnixlib-f22880408ea8661529b2760c21ecb82f70463801.tar
nixlib-f22880408ea8661529b2760c21ecb82f70463801.tar.gz
nixlib-f22880408ea8661529b2760c21ecb82f70463801.tar.bz2
nixlib-f22880408ea8661529b2760c21ecb82f70463801.tar.lz
nixlib-f22880408ea8661529b2760c21ecb82f70463801.tar.xz
nixlib-f22880408ea8661529b2760c21ecb82f70463801.tar.zst
nixlib-f22880408ea8661529b2760c21ecb82f70463801.zip
Kindly ask strip to not mess up timestamps in static libraries
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/setup-repeatable.sh4
1 files 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