Work-around for GNU GLOBAL on 64-bit Ubuntu.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/228263002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
bmeurer@chromium.org 2014-04-08 08:07:50 +00:00
parent 23dbc85bd7
commit b40c837e44

View File

@ -471,11 +471,13 @@ grokdump: ia32.release
gtags.files: $(GYPFILES) $(ENVFILE)
@find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@
GTAGS GRTAGS GPATH: gtags.files
@GTAGSFORCECPP=yes gtags -i -q
# We need to manually set the stack limit here, to work around bugs in
# gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems.
GPATH GRTAGS GSYMS GTAGS: gtags.files
@bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<'
gtags.clean:
rm -f GTAGS GRTAGS GPATH gtags.files
rm -f gtags.files GPATH GRTAGS GSYMS GTAGS
# Dependencies.
# Remember to keep these in sync with the DEPS file.