summaryrefslogtreecommitdiff
path: root/docs/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libudev')
-rw-r--r--docs/libudev/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/libudev/Makefile.am b/docs/libudev/Makefile.am
index f9365b3fd0..13e448ace0 100644
--- a/docs/libudev/Makefile.am
+++ b/docs/libudev/Makefile.am
@@ -72,6 +72,14 @@ content_files = version.xml
# e.g. expand_content_files=running.sgml
expand_content_files=
+# Hack, hack. You silly gtk-doc, you must not add CFLAGS multiple
+# times when calling gcc; it surely can not work with options that must
+# be listed only once.
+# Kill CFLAGS here because gtk-doc thinks adding CFLAGS to CC _and_ also
+# adding CFLAGS itself again would work.
+override CFLAGS=
+override LDFLAGS=
+
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.