[Tile-serving] [mod_tile] problem compiling (#35)

Dane Springmeyer notifications at github.com
Fri Jul 12 20:57:53 UTC 2013


@apmon - 23be0365a. The problem was that the CXX specific flags were also being added to the targets than need to be compiled as C. The solution is to fix the mod_tile build system so that CXXFLAGS and CFLAGS are handled separately and applied to the right targets. Or at least this is the only solution if `mapnik-config --cflags` is used. `mapnik-config --cflags` specifically is a catch all for all compiler flags and to make this more flexible at Mapnik v.2.2.0 you now have access to each type of flag like `mapnik-config --includes` for just the include paths for all mapnik dependencies (some of which are C like freetype and C++ like boost) and `mapnik-config --defines` for just -DEFINES.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/35#issuecomment-20903775
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130712/c9451c0c/attachment.html>


More information about the Tile-serving mailing list