mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08: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>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">Editor Notes:
|
||||
<ulink url="&blfs-wiki;/liba52"/></para>
|
||||
<para condition="html" role="usernotes">
|
||||
Editor Notes: <ulink url="&blfs-wiki;/liba52"/>
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
@ -89,7 +91,7 @@
|
||||
--mandir=/usr/share/man \
|
||||
--enable-shared \
|
||||
--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>
|
||||
|
||||
<para>
|
||||
@ -111,8 +113,8 @@ install -v -m644 -D doc/liba52.txt \
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>CFLAGS="${CFLAGS:--g -O2} ...</parameter>: This sets
|
||||
CFLAGS to -g -O2
|
||||
<parameter>CFLAGS="${CFLAGS:--g -O3} ...</parameter>: This sets
|
||||
CFLAGS to -g -O3
|
||||
(which is the default) but then on x86_64 adds -fPIC. This is needed to
|
||||
compile <application>liba52</application> on x86_64.
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user