Mercurial > gub
changeset 5508:bb68967b1be4
Lift LIBRESTRICT stat restriction from cross.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 20 Aug 2009 22:02:45 +0200 |
parents | 86ad308795bc |
children | f53a7c60a217 |
files | gub/cross.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/cross.py Thu Aug 20 21:59:44 2009 +0200 +++ b/gub/cross.py Thu Aug 20 22:02:45 2009 +0200 @@ -27,6 +27,13 @@ dict.update (env) d = build.AutoBuild.get_substitution_dict (self, dict).copy () return d + def LD_PRELOAD (self): + # Makes no sense for cross. Be it /usr/bin/gcc or tools::gcc, + # it needs to read /usr/include/stdlib.h etc. How to, or why + # restrict reading other files from /? + # See LIBRESTRICT_IGNORE below, it would need to include every + # binary in system_prefix :-) + return '' def configure_command (self): return ( # BOOTSTRAP -- do we need this?