GNOME Bugzilla – Bug 536978
GTKDOC_CFLAGS should include CFLAGS
Last modified: 2008-08-19 01:02:01 UTC
Hi, docs/gst/Makefile.am currently sets GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS). This is fine but it should also contain CFLAGS, otherwise stuff given to configure via the CFLAGS environment variable, etc does not have any effect. I'll change this in core/base after the freezes and everywhere else on Monday.
Not sure if that shouldn't be better fixed in gtk-doc.make scan-build.stamp: ... CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; ...
That would the other possibility, yes :)
Ok, well let's add it in gtk-doc.make then. Will you add this in the gtk-doc gtk-doc.make in SVN? :)
Done: 2008-06-10 Stefan Kost <ensonic@users.sf.net> * gtk-doc.make: * gtk-doc.notmpl.make: * tests/gtk-doc.make: * tests/gtk-doc.notmpl.make: Include original CFLAGS / LDFLAGS when building the scanner. Allows to have own FLAGS defined in addition.
2008-06-20 Sebastian Dröge <slomo@circular-chaos.org> * gtk-doc-plugins.mak: * gtk-doc.mak: Include CFLAGS and LDFLAGS in GTKDOC_CFLAGS and GTKDOC_LDFLAGS, otherwise the values passed to configure are ignored. Fixes bug #536978.
*** Bug 546870 has been marked as a duplicate of this bug. ***
It is broken in: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.20.tar.bz2 on target i386-pc-solaris2.11. Looking forward to 0.10.21 .