Mercurial > gub
changeset 5155:9a6ad85d6a26
librestrict: build fix.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Mon, 16 Feb 2009 16:02:52 +0100 |
parents | e366616c0120 |
children | 58c59cda61f5 |
files | gub/specs/librestrict.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/librestrict.py Mon Feb 16 16:02:37 2009 +0100 +++ b/gub/specs/librestrict.py Mon Feb 16 16:02:52 2009 +0100 @@ -44,7 +44,7 @@ # URG, must *not* have U __stack_chk_fail@@GLIBC_2.4 # because glibc-[core-]2.3 will not install with LD_PRELOAD CFLAGS = '-fno-stack-protector' - compile = 'gcc -W -Wall %(CFLAGS)s -fPIC -shared -o lib%(name)s.so %(name)s.c' + compile = 'gcc -W -Wall %(CFLAGS)s -I. -fPIC -shared -o lib%(name)s.so %(name)s.c' sources = ' '.join (['restrict-%s.c' % name for name in self.librestrict_flavours ()]) b = 'cd %(builddir)s && ' command = b + 'cat %(sources)s > restrict-all.c\n' % locals ()