diff options
author | Ambroz Bizjak <abizjak.pro@gmail.com> | 2019-07-09 20:53:25 +0200 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-07-17 10:31:01 +0200 |
commit | 3e867d16cde4ecf81d04d41acb99ea464f5c4663 (patch) | |
tree | 63a07b3befe194655de250dc913317e5c16a38f5 | |
parent | 325f37f93512fccbcfd8b60b7f3d9a15708d0372 (diff) | |
download | nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar.gz nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar.bz2 nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar.lz nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar.xz nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.tar.zst nixpkgs-3e867d16cde4ecf81d04d41acb99ea464f5c4663.zip |
strip setup hook: Strip using --strip-unneeded instead of --strip-debug.
-rw-r--r-- | pkgs/build-support/setup-hooks/strip.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/strip.sh b/pkgs/build-support/setup-hooks/strip.sh index fc4c7bfbaf9..a36caa26810 100644 --- a/pkgs/build-support/setup-hooks/strip.sh +++ b/pkgs/build-support/setup-hooks/strip.sh @@ -25,7 +25,7 @@ _doStrip() { stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin} if [ -n "$stripDebugList" ]; then - stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:--S}" + stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:---strip-unneeded}" fi stripAllList=${stripAllList:-} |