Changeset 909e238


Ignore:
Timestamp:
05/19/2019 05:52:30 PM (2 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 9.0, 9.1, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
3c19265
Parents:
282f6fc3
Message:

Seamonkey is hit by the -Werror=format false positives, but the other flags
are not needed anymore

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r282f6fc3 r909e238  
    264264
    265265    <para>
     266      <application>GCC-9</application> generates some false positives with
     267      <command>--Werror=fromat</command>, which prevent building
     268      <application>SeaMonkey</application>. Remove this flag with the
     269      following command:
     270    </para>
     271
     272<screen><userinput>grep -rl -- '-Werror=format' |
     273    xargs sed -i 's/error=format/no-&amp;/'</userinput></screen>
     274
     275    <para>
    266276      Compile <application>SeaMonkey</application> by running the following
    267277      commands:
    268278    </para>
    269279
    270 <!-- Seems to still be needed for 2.49.2 -->
     280<!-- Seems to still be needed for 2.49.2
     281     but not in 2.49.4
    271282<screen><userinput>CFLAGS_HOLD=$CFLAGS           &amp;&amp;
    272283CXXFLAGS_HOLD=$CXXFLAGS       &amp;&amp;
     
    275286export CXXFLAGS+=$EXTRA_FLAGS &amp;&amp;
    276287unset EXTRA_FLAGS             &amp;&amp;
    277 
    278 CC=gcc CXX=g++ make -f client.mk</userinput></screen>
    279 
    280     <note><para>The CC and CXX variables above are only needed if
    281     <xref linkend="llvm"/> is installed.  If using clang is desired,
    282     do not use the CFLAGS or CXXFLAGS above.</para></note>
     288-->
     289<screen><userinput>CC=gcc CXX=g++ make -f client.mk</userinput></screen>
     290
     291    <note>
     292      <para>
     293        The CC and CXX variables above are only needed if
     294        <xref linkend="llvm"/> is installed and you do not want to use clang.
     295      </para>
     296    </note>
    283297
    284298    <para>
     
    296310
    297311cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
    298 
     312<!-- Not needed: see above
    299313    <para>
    300314      Set the compilation flags back to their original values:
     
    304318export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
    305319unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
    306 
     320-->
    307321    <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
    308322      All the Development Libraries and Headers
Note: See TracChangeset for help on using the changeset viewer.