GNOME Bugzilla – Bug 81353
LDFLAGS not passed to gtkdoc-scangobj
Last modified: 2004-12-22 21:47:04 UTC
The 64bit build of gtk+ fails in the docs/reference/gdk, docs/reference/gdk-pixbuf and docs/reference/gtk+ directory. This is because the LDFLAGS passed by the user is not being considered. For 64bit compilation we export CFLAGS="-xarch=v9" and LDFLAGS="-xarch=v9 -i". Attaching a patch which fixes this.
Created attachment 8345 [details] [review] Proposed patch
For now, I'd suggest builidng with --disable-gtk-doc (the default unless you are building from CVS running autogen.sh) I see no reaosn to need to regenerate the docs on 64-bit Solaris. Will look at fixing the standard gtk-doc template in some way for 2.0.4.
Is this actually a gtk-doc bug ?
I think it is. We should fix the example / "standard" gtk-doc Makefile.
*** Bug 81351 has been marked as a duplicate of this bug. ***
The new template makefile I am working on automatically adds $(CFLAGS) and $(LDFLAGS) to the CC and LD variables it passes into gtkdoc-scangobj. That should solve this particular issue (and it shouldn't be necessary for every package that uses the template to remember ...).
Since GTK+ and Pango use the new gtk-doc.make file, this is fixed, isn't it? Reopen if not.