mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
doc: Update bit about GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
This is a followup to d0a2db47fb
.
* doc/guix.texi (Application Setup)[The GCC toolchain]: Adjust bit
about GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
This commit is contained in:
parent
1379319fe7
commit
280e9c2a26
1 changed files with 3 additions and 8 deletions
|
@ -1723,16 +1723,11 @@ including GCC itself, the GNU C Library (headers and binaries, plus
|
||||||
debugging symbols in the @code{debug} output), Binutils, and a linker
|
debugging symbols in the @code{debug} output), Binutils, and a linker
|
||||||
wrapper.
|
wrapper.
|
||||||
|
|
||||||
@cindex attempt to use impure library, error message
|
|
||||||
|
|
||||||
The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches
|
The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches
|
||||||
passed to the linker, add corresponding @code{-rpath} arguments, and
|
passed to the linker, add corresponding @code{-rpath} arguments, and
|
||||||
invoke the actual linker with this new set of arguments. By default,
|
invoke the actual linker with this new set of arguments. You can instruct the
|
||||||
the linker wrapper refuses to link to libraries outside the store to
|
wrapper to refuse to link against libraries not in the store by setting the
|
||||||
ensure ``purity''. This can be annoying when using the toolchain to
|
@code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}.
|
||||||
link with local libraries. To allow references to libraries outside the
|
|
||||||
store you need to define the environment variable
|
|
||||||
@code{GUIX_LD_WRAPPER_ALLOW_IMPURITIES}.
|
|
||||||
|
|
||||||
@c TODO What else?
|
@c TODO What else?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue