summaryrefslogtreecommitdiff
path: root/docs/meson.rst
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2020-04-18 12:38:05 +0200
committerMarge Bot <eric+marge@anholt.net>2020-06-13 10:42:00 +0000
commit0841da2fbb1122997c9fd4db9b2b7196ef815ae6 (patch)
tree609c6c15ce74e8dc89c389b253ae9c92d9290def /docs/meson.rst
parenta71f08b71526a0ca80610db84e460eefbb51f554 (diff)
docs: fixup heading-levels
I have no idea why pandoc messed up these headers... Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
Diffstat (limited to 'docs/meson.rst')
-rw-r--r--docs/meson.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/meson.rst b/docs/meson.rst
index 65d9b923965..dd709b16f4a 100644
--- a/docs/meson.rst
+++ b/docs/meson.rst
@@ -177,7 +177,7 @@ want to use ICL or clang-cl with the vsbackend you will need meson
-----------------
Installation Location
-~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^
Meson default to installing libGL.so in your system's main lib/
directory and DRI drivers to a dri/ subdirectory.
@@ -197,7 +197,7 @@ that location to run/test the driver.
Meson also honors ``DESTDIR`` for installs.
Compiler Options
-~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^
Meson supports the common CFLAGS, CXXFLAGS, etc. environment variables
but their use is discouraged because of the many caveats in using them.
@@ -214,7 +214,7 @@ for C++ sources:
meson builddir/ -Dc_args=-fmax-errors=10 -Dcpp_args=-DMAGIC=123
Compiler Specification
-~~~~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^^^^
Meson supports the standard CC and CXX environment variables for
changing the default compiler. Note that Meson does not allow changing
@@ -237,7 +237,7 @@ most of the popular compilers, a complete list is available
`here <https://mesonbuild.com/Reference-tables.html#compiler-ids>`__.
LLVM
-~~~~
+^^^^
Meson includes upstream logic to wrap llvm-config using its standard
dependency interface.
@@ -373,7 +373,7 @@ not, workarounds for the wrong version of LLVM might be used resulting
in build failures.
``PKG_CONFIG_PATH``
-~~~~~~~~~~~~~~~~~~~
+^^^^^^^^^^^^^^^^^^^
The ``pkg-config`` utility is a hard requirement for configuring and
building Mesa on Unix-like systems. It is used to search for external
@@ -383,7 +383,7 @@ the search path for ``pkg-config``. For instance, setting
metadata in ``/usr/X11R6`` before the standard directories.
Options
-~~~~~~~
+^^^^^^^
One of the oddities of meson is that some options are different when
passed to the ``meson`` than to ``meson configure``. These options are