summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-17 12:21:29 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-17 12:21:29 -0500
commit714e5c72f6782191937c94a7cb7b6b750bd1ff5b (patch)
tree6bcd0824c784d7c1b85dae0b45d527c71446e208
parentb76e514322d0d4946ba10a998c18a2f80025848d (diff)
downloadgtk+-714e5c72f6782191937c94a7cb7b6b750bd1ff5b.tar.gz
docs: Add details about plain builds
Mention that build type 'plain' puts the responsibility for debug features into the hands of the builder. Related: !2831
-rw-r--r--docs/reference/gtk/building.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/reference/gtk/building.md b/docs/reference/gtk/building.md
index 2ee660fb05..51c8802168 100644
--- a/docs/reference/gtk/building.md
+++ b/docs/reference/gtk/building.md
@@ -107,7 +107,9 @@ The `plain` build type provided by Meson should only be used when
packaging GTK, and it's expected that packagers will provide their
own compiler flags when building GTK. See the previous section for
the list of environment variables to be used to define compiler and
-linker flags.
+linker flags. Note that with the plain build type, you are also
+responsible for controlling the debugging features of GTK with
+`-DG_ENABLE_DEBUG` and `-DG_DISABLE_CAST_CHECKS`.
## Dependencies {#dependencies}