mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Added build-fix for Thunderbird-45.1.1 with GCC-6.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17525 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
7594f109fe
commit
773ef6d367
@ -1,12 +1,12 @@
|
||||
<!-- $LastChangedBy$ $Date$ -->
|
||||
|
||||
<!ENTITY day "23"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "26"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "06"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2016">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "June 23st &year;">
|
||||
<!ENTITY releasedate "June 26th &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||
|
@ -43,6 +43,16 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>June 26th, 2016</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Added build-fix for Thunderbird-45.1.1 with GCC-6.1.
|
||||
Fixes <ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>June 23nd, 2016</para>
|
||||
<itemizedlist>
|
||||
|
@ -71,16 +71,16 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<!--
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch, if building with gcc-5:
|
||||
<ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc5-1.patch"/>
|
||||
Required patch, if building with gcc-6:
|
||||
<ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>-->
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
||||
|
||||
@ -245,6 +245,10 @@ EOF</userinput></screen>
|
||||
|
||||
<!-- might be necessary
|
||||
test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
|
||||
<para>Fix some issues with GCC-6.1:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-1.patch</userinput></screen>
|
||||
|
||||
<para>
|
||||
Compile <application>Thunderbird</application> by issuing the following
|
||||
commands:
|
||||
@ -255,7 +259,9 @@ test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozcon
|
||||
prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
|
||||
</para></note>
|
||||
|
||||
<screen><userinput>make -f client.mk</userinput></screen>
|
||||
<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
@ -293,6 +299,12 @@ in case an editor figures out how to install the development environment.
|
||||
fix i686 builds and preserve the optimization on x86_64.
|
||||
</para>-->
|
||||
|
||||
<para>
|
||||
<command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
|
||||
code which gcc6 would otherwise regard as out-of-specification and allow
|
||||
it to produce a working program.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>make -f client.mk</command>: Mozilla products are packaged to
|
||||
allow the use of a configuration file which can be used to pass the
|
||||
|
Loading…
Reference in New Issue
Block a user