libdisplay-info: Add --buildtype=release

The default buildtype is "debug", generating very unoptimized binary.
This commit is contained in:
Xi Ruoyao 2024-03-18 19:27:36 +08:00
parent 5b8b9f51b1
commit a529ba7ff4
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -86,7 +86,7 @@
<screen><userinput>mkdir build &amp;&amp; <screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp; cd build &amp;&amp;
meson setup --prefix=/usr .. &amp;&amp; meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen> ninja</userinput></screen>
<para> <para>
@ -101,6 +101,13 @@ ninja</userinput></screen>
</sect2> </sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/meson-buildtype-release.xml"/>
</sect2>
<sect2 role="content"> <sect2 role="content">
<title>Contents</title> <title>Contents</title>