Mercurial > gub
changeset 5193:ff5f7324f56f
change_target_package_x86: re-LIBRESTRICT_ALLOW package.settings.targetdict
Fixes building odcctools, thanks John.
http://lists.gnu.org/archive/html/lilypond-devel/2009-03/msg00138.html
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 19 Mar 2009 12:22:06 +0100 |
parents | 97bf475de38d |
children | 06e4efc24c68 aa5b99255573 |
files | gub/cross.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/cross.py Thu Mar 19 12:20:14 2009 +0100 +++ b/gub/cross.py Thu Mar 19 12:22:06 2009 +0100 @@ -246,13 +246,14 @@ + package.settings.cross_dir) x86_bindir = x86_cross + '/bin' x86_cross_bin = x86_cross + '/i686-linux' + '/bin' - env['PATH'] = x86_cross_bin + ':' + env['PATH'] env['CC'] = x86_cross_bin + '/gcc' env['CXX'] = x86_cross_bin + '/g++' # FIXME: should only remove any %(tools_prefix)s elements from these... env['C_INCLUDE_PATH'] = '' env['CPLUS_INCLUDE_PATH'] = '' env['LIBRARY_PATH'] = '' + env['LIBRESTRICT_ALLOW'] = package.settings.targetdir + env['PATH'] = x86_cross_bin + ':' + env['PATH'] def build_environment (e): return env