# HG changeset patch # User Jan Nieuwenhuizen # Date 1250791250 -7200 # Node ID 5be1fb4645863af3ca35a660fe03e5ac3fb1cc2b # Parent 622e6da7f7fc7516363be40e5333439201d9decf cross/gcc: LIBRESTRICT_ALLOW /proc/self/fd. Fixes truly restricted build. diff -r 622e6da7f7fc -r 5be1fb464586 gub/specs/cross/gcc.py --- 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 ('''