# HG changeset patch # User Jan Nieuwenhuizen # Date 1250798565 -7200 # Node ID bb68967b1be41fe5d622bffd467338b86ec2e8cc # Parent 86ad308795bcabbdd707307c1a2be8887667d058 Lift LIBRESTRICT stat restriction from cross. diff -r 86ad308795bc -r bb68967b1be4 gub/cross.py --- 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?