Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Unified Diff: Makefile

Issue 228263002: Work-around for GNU GLOBAL on 64-bit Ubuntu. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 16d8ef2d4506b984ecd6f901e65cfce40d38b421..93746a8827163ef66f56efe9b241dd8a86903198 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698