sh-mahdi / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Use AM_CPPFLAGS instad of CPPFLAGS in Makefile.am #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Setting CPPFLAGS in Makefile.am will prevent the use of custom CPPFLAGS passed 
to configure, the var will be overwritten. Setting custom CPPFLAGS is needed 
for example to compile with system wide tinyxml compiled with stl support ( 
-DTIXML_USE_STL ).

The fix is simple: sed -i 's/CPPFLAGS/AM_CPPFLAGS/' Makefile.am

Cheers :)

Original issue reported on code.google.com by enrico.t...@gmail.com on 11 Oct 2011 at 9:51

GoogleCodeExporter commented 8 years ago
Sounds reasonable.

Original comment by acaudw...@gmail.com on 13 Oct 2011 at 12:17

GoogleCodeExporter commented 8 years ago

Original comment by acaudw...@gmail.com on 13 Oct 2011 at 8:05

GoogleCodeExporter commented 8 years ago

Original comment by acaudw...@gmail.com on 21 Apr 2012 at 8:38