diff options
author | Rob Landley <rob@landley.net> | 2009-02-24 07:20:53 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2009-02-24 07:20:53 +0000 |
commit | fb863f7592a07c999168555c26a41e1247231e00 (patch) | |
tree | df2aed6629d888d71cf252c84cefb4ba0141b7b8 /extra/Configs/Config.in | |
parent | 11495b6f6a7bff4fc7effdbf670b5d482c36913d (diff) |
Make HARDWIRED_ABSPATH a config option.
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r-- | extra/Configs/Config.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index b4d5fce09..b26c487a6 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1812,6 +1812,26 @@ config DEVEL_PREFIX For a typical target system this should be set to "/usr", such that 'make install' will install /usr/include/<header files>. +config HARDWIRED_ABSPATH + string "Hardwire absolute paths into linker scripts" + default y + help + This prepends absolute paths to the libraries mentioned in linker + scripts such as libc.so. + + This is a build time optimization. It has no impact on dynamic + linking at runtime, which doesn't use linker scripts. + + You must disable this to use uClibc with a relocatable toolchain, + such as the prebuilt binary cross compilers at + http://uclibc.org/downloads/binaries which may be installed at an + arbitrary location (such as in a user's home directory). + + The amount of time saved by this optimization is actually too small to + measure. The linker just had to search the library path to find the + linker script, so the dentries are cache hot if it has to search the + same path again. But it's what glibc does, so we do it too. + endmenu |