about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2022-07-28 00:30:49 -0700
committerGitHub <noreply@github.com>2022-07-28 00:30:49 -0700
commit88c63ca65a30eb83bd2a00d183a9f11819be43ad (patch)
tree28deb0ec736374e6a61478ede77500b1537eb751 /doc
parent0049ace2ece4a4555c5582c3b5a74a548cfb60e9 (diff)
parenteece5d0dc0bbd7eaab1f09e608f89449f745003b (diff)
downloadnixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar.gz
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar.bz2
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar.lz
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar.xz
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.tar.zst
nixlib-88c63ca65a30eb83bd2a00d183a9f11819be43ad.zip
Merge pull request #182513 from trofi/strip-for-host-and-target
gcc: enable stripping for cross-compilers
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv/stdenv.chapter.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index ebfda97ba77a..da30807beead 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -731,6 +731,10 @@ If set, files in `$out/sbin` are not moved to `$out/bin`. By default, they are.
 
 List of directories to search for libraries and executables from which *all* symbols should be stripped. By default, it’s empty. Stripping all symbols is risky, since it may remove not just debug symbols but also ELF information necessary for normal execution.
 
+##### `stripAllListTarget` {#var-stdenv-stripAllListTarget}
+
+Like `stripAllList`, but only applies to packages’ target platform. By default, it’s empty. Useful when supporting cross compilation.
+
 ##### `stripAllFlags` {#var-stdenv-stripAllFlags}
 
 Flags passed to the `strip` command applied to the files in the directories listed in `stripAllList`. Defaults to `-s` (i.e. `--strip-all`).
@@ -739,6 +743,10 @@ Flags passed to the `strip` command applied to the files in the directories list
 
 List of directories to search for libraries and executables from which only debugging-related symbols should be stripped. It defaults to `lib lib32 lib64 libexec bin sbin`.
 
+##### `stripDebugListTarget` {#var-stdenv-stripDebugListTarget}
+
+Like `stripDebugList`, but only applies to packages’ target platform. By default, it’s empty. Useful when supporting cross compilation.
+
 ##### `stripDebugFlags` {#var-stdenv-stripDebugFlags}
 
 Flags passed to the `strip` command applied to the files in the directories listed in `stripDebugList`. Defaults to `-S` (i.e. `--strip-debug`).