Changeset 3d038a8


Ignore:
Timestamp:
04/18/2024 04:42:32 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
211f211
Parents:
06373ad
Message:

harfbuzz: Use the same style for -Dxxx as other packages, and add explanation for -Dcpp_std=c++17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/harfbuzz.xml

    r06373ad r3d038a8  
    122122      --prefix=/usr       \
    123123      --buildtype=release \
    124       -D cpp_std=c++17    \
    125       -D graphite2=enabled &amp;&amp;
     124      -Dcpp_std=c++17     \
     125      -Dgraphite2=enabled &amp;&amp;
    126126ninja</userinput></screen>
    127127
     
    142142    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    143143      href="../../xincludes/meson-buildtype-release.xml"/>
     144
     145    <para>
     146      <parameter>-Dcpp_std=c++17</parameter>: This switch ensures compiling
     147      the C++ code following the C++17 standard, overriding the default of
     148      this package (C++11).  It's required to build this package with
     149      <xref linkend='icu'/> installed because some ICU headers use C++17
     150      features.  It is unnecessary if <xref linkend='icu'/> is not
     151      installed, but does no harm anyway.
     152    </para>
    144153
    145154    <para>
Note: See TracChangeset for help on using the changeset viewer.