From 92179ed31405ac43970098c2a05c28ac16b5d87f Mon Sep 17 00:00:00 2001 From: springmeyer Date: Wed, 20 Jun 2012 05:29:00 -0700 Subject: [PATCH] Updated Compiling Mapnik Faster (markdown) --- FasterCompiling.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/FasterCompiling.md b/FasterCompiling.md index 4484e69..93b4796 100644 --- a/FasterCompiling.md +++ b/FasterCompiling.md @@ -1,15 +1,7 @@ - - - - - - - # Compiling Mapnik Faster ![source:xkcd.org](http://imgs.xkcd.com/comics/compiling.png) When you are tired of sword fighting, its time to actually figure out how to compile Mapnik faster. - The use of SCons, templates, and particularly boost::spirit2 grammars, means that for a fairly lightweight library like Mapnik things take a long time to compile. @@ -53,7 +45,7 @@ then compile Mapnik like: Be aware that clang provides more warnings that gcc, and this can clog your terminal sometimes when the boost guys get careless. To silence most of the clang warnings that come from boost headers you can do: ```sh - $ python scons/scons.py install WARNING_CXXFLAGS="-Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts" + $ python scons/scons.py install WARNING_CXXFLAGS="-Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -Wno-internal-linkage-in-inline" ``` ## Use Precompiled Headers