Mercurial > gub
changeset 5168:abbf5a86ec69
Move open:stat restriction from mingw::guile to target.py.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Tue, 17 Feb 2009 16:23:27 +0100 |
parents | 087b8fc6b8d8 |
children | f450582ab088 |
files | gub/specs/guile.py gub/target.py |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/guile.py Tue Feb 17 16:22:58 2009 +0100 +++ b/gub/specs/guile.py Tue Feb 17 16:23:27 2009 +0100 @@ -122,11 +122,7 @@ def _get_build_dependencies (self): return Guile._get_build_dependencies (self) + ['regex-devel'] def configure_command (self): - SHELL = '' - if 'stat' in misc.librestrict (): - SHELL = ' SHELL=%(tools_prefix)s/bin/dash' return (Guile.configure_command (self) - + SHELL # + ' --with-threads=pthread' # checking whether pthread_attr_getstack works for the main thread... configure: error: cannot run test program while cross compiling # also, gen-scmconfig.c has
--- a/gub/target.py Tue Feb 17 16:22:58 2009 +0100 +++ b/gub/target.py Tue Feb 17 16:23:27 2009 +0100 @@ -16,7 +16,10 @@ return build.AutoBuild.configure_command (self) def configure_command (self): - return misc.join_lines ('''%(configure_binary)s + SHELL = '' + if 'stat' in misc.librestrict (): + SHELL = ' SHELL=%(tools_prefix)s/bin/dash' + return (misc.join_lines ('''%(configure_binary)s --config-cache --enable-shared --disable-static @@ -31,6 +34,7 @@ --libdir=%(prefix_dir)s/lib ''') # --with-slibdir=%(prefix)s/slib + + SHELL) def configure (self): build.AutoBuild.configure (self)