Ignore:
Timestamp:
12/22/2023 07:16:18 PM (5 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
af4a9d3
Parents:
83bd093
git-author:
Pierre Labastie <pierre.labastie@…> (12/22/2023 11:07:53 AM)
git-committer:
Pierre Labastie <pierre.labastie@…> (12/22/2023 07:16:18 PM)
Message:

liba52: CFLAGS is set to -g -O3 by default

Any setting of -Ox is unconditionally removed, and -O3 is always
applied. See also editor note.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/liba52.xml

    r83bd093 r27442a31  
    7474    </para>
    7575
    76     <para condition="html" role="usernotes">Editor Notes:
    77     <ulink url="&blfs-wiki;/liba52"/></para>
     76    <para condition="html" role="usernotes">
     77      Editor Notes: <ulink url="&blfs-wiki;/liba52"/>
     78    </para>
     79
    7880  </sect2>
    7981
     
    9092            --enable-shared         \
    9193            --disable-static        \
    92             CFLAGS="${CFLAGS:--g -O2} $([ $(uname -m) = x86_64 ] &amp;&amp; echo -fPIC)" &amp;&amp;
     94            CFLAGS="${CFLAGS:--g -O3} $([ $(uname -m) = x86_64 ] &amp;&amp; echo -fPIC)" &amp;&amp;
    9395make</userinput></screen>
    9496
     
    112114
    113115    <para>
    114       <parameter>CFLAGS="${CFLAGS:--g -O2} ...</parameter>: This sets
    115       CFLAGS to -g -O2
     116      <parameter>CFLAGS="${CFLAGS:--g -O3} ...</parameter>: This sets
     117      CFLAGS to -g -O3
    116118      (which is the default) but then on x86_64 adds -fPIC. This is needed to
    117119      compile <application>liba52</application> on x86_64.
Note: See TracChangeset for help on using the changeset viewer.