summaryrefslogtreecommitdiff
path: root/gnu/packages/gtk.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/gtk.scm')
-rw-r--r--gnu/packages/gtk.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3d4766713d..d4290e13aa 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -731,7 +731,10 @@ highlighting and other features typical of a source code editor.")
(outputs '("out" "debug"))
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
- #:configure-flags '("-Dinstalled_tests=false" "-Dgtk_doc=true")
+ #:configure-flags '("-Dinstalled_tests=false"
+ ,@(if (%current-target-system)
+ '()
+ '("-Dgtk_doc=true")))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'disable-failing-tests