One of the gtkdoc's steps calls to gtkdoc-scangobj that also accepts compiler arguments by using the cflags option. Compiler arguments from dependencies are also appended now.