Changeset f4302700 for gnome


Ignore:
Timestamp:
03/04/2021 09:56:47 AM (5 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
f3634b6
Parents:
5d2965c
Message:

CFLAGS/CPPFLAGS cleanup

Move -I and -D into CPPFLAGS, and for others use ${CFLAGS:--O2 -g} to
prevent from building "non-optimized" binary.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24334 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/applications/evince.xml

    r5d2965c rf4302700  
    129129    </para>
    130130
    131 <screen><userinput remap="pre">export CFLAGS="$CFLAGS -I/opt/texlive/&texlive-year;/include" &amp;&amp;
    132 export CXXFLAGS="$CXXFLAGS -I/opt/texlive/&texlive-year;/include" &amp;&amp;
     131<screen><userinput remap="pre">export CPPFLAGS="-I/opt/texlive/&texlive-year;/include" &amp;&amp;
    133132export LDFLAGS="$LDFLAGS -L/opt/texlive/&texlive-year;/lib"</userinput></screen>
    134133
     
    175174    -->
    176175
    177 <!-- When moving to Meson, I installed the whole texlive suite from source.
    178      I was able to verify that this is no longer required. I'm assuming it was
    179      one of evince-3.36.3 or texlive-2020 that fixed this.
    180     <para>
    181       <parameter>CFLAGS="$CFLAGS ..." CXXFLAGS="$CXXFLAGS ..." LDFLAGS="$LDFLAGS ..."</parameter>: If
     176    <para>
     177      <parameter>CPPFLAGS="..." LDFLAGS="$LDFLAGS ..."</parameter>: If
    182178      <application>TeXLive</application> has been installed in
    183179      <filename class="directory">/opt/texlive-&texlive-year;</filename> the
     
    188184      build.
    189185    </para>
    190 -->
     186
    191187    <para>
    192188      <parameter>-Dgtk_doc=false</parameter>: This switch disables generating
Note: See TracChangeset for help on using the changeset viewer.