mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
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.
This commit is contained in:
parent
83bd09379f
commit
27442a31af
@ -73,8 +73,10 @@
|
|||||||
<ulink url="https://cr.yp.to/djbfft.html">djbfft</ulink>
|
<ulink url="https://cr.yp.to/djbfft.html">djbfft</ulink>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para condition="html" role="usernotes">Editor Notes:
|
<para condition="html" role="usernotes">
|
||||||
<ulink url="&blfs-wiki;/liba52"/></para>
|
Editor Notes: <ulink url="&blfs-wiki;/liba52"/>
|
||||||
|
</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
@ -89,7 +91,7 @@
|
|||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
CFLAGS="${CFLAGS:--g -O2} $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
|
CFLAGS="${CFLAGS:--g -O3} $([ $(uname -m) = x86_64 ] && echo -fPIC)" &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -111,8 +113,8 @@ install -v -m644 -D doc/liba52.txt \
|
|||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<parameter>CFLAGS="${CFLAGS:--g -O2} ...</parameter>: This sets
|
<parameter>CFLAGS="${CFLAGS:--g -O3} ...</parameter>: This sets
|
||||||
CFLAGS to -g -O2
|
CFLAGS to -g -O3
|
||||||
(which is the default) but then on x86_64 adds -fPIC. This is needed to
|
(which is the default) but then on x86_64 adds -fPIC. This is needed to
|
||||||
compile <application>liba52</application> on x86_64.
|
compile <application>liba52</application> on x86_64.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user