Mercurial > gub
changeset 5498:5be1fb464586
cross/gcc: LIBRESTRICT_ALLOW /proc/self/fd. Fixes truly restricted build.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 20 Aug 2009 20:00:50 +0200 |
parents | 622e6da7f7fc |
children | f322541f9c18 |
files | gub/specs/cross/gcc.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/cross/gcc.py Thu Aug 20 19:59:45 2009 +0200 +++ b/gub/specs/cross/gcc.py Thu Aug 20 20:00:50 2009 +0200 @@ -51,6 +51,7 @@ return ( ' tooldir="%(cross_prefix)s/%(target_architecture)s"' + ' gcc_tooldir="%(prefix_dir)s/%(target_architecture)s"' + + ' LIBRESTRICT_ALLOW=/proc/self/fd:${LIBRESTRICT_ALLOW:/foe}' ) def FAILED_attempt_to_avoid_post_install_MOVE_TARGET_LIBS_makeflags (self): return misc.join_lines ('''