mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 19:57:18 +08:00
Minor cleanups
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17547 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
6c4bb8f858
commit
5246cffcc4
@ -339,11 +339,6 @@ unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
|||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>sed ...</command>: These commands correct the source to be
|
|
||||||
compatible with gcc6 by preventing c++ scope errors.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
|
<command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
|
||||||
code which gcc6 would otherwise regard as out-of-specification and allow
|
code which gcc6 would otherwise regard as out-of-specification and allow
|
||||||
|
@ -252,16 +252,16 @@ test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozcon
|
|||||||
|
|
||||||
<screen><userinput>sed -e '/#include/i\
|
<screen><userinput>sed -e '/#include/i\
|
||||||
print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
||||||
-i mozilla/nsprpub/config/make-system-wrappers.pl
|
-i mozilla/nsprpub/config/make-system-wrappers.pl &&
|
||||||
|
|
||||||
sed -e '/#include/a\
|
sed -e '/#include/a\
|
||||||
print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\\n"\;' \
|
||||||
-i mozilla/nsprpub/config/make-system-wrappers.pl
|
-i mozilla/nsprpub/config/make-system-wrappers.pl &&
|
||||||
|
|
||||||
export CFLAGS_HOLD=$CFLAGS
|
export CFLAGS_HOLD=$CFLAGS &&
|
||||||
export CXXFLAGS_HOLD=$CXXFLAGS
|
export CXXFLAGS_HOLD=$CXXFLAGS &&
|
||||||
export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
||||||
export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
||||||
|
|
||||||
make -f client.mk</userinput></screen>
|
make -f client.mk</userinput></screen>
|
||||||
|
|
||||||
@ -275,9 +275,10 @@ make -f client.mk</userinput></screen>
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &&
|
<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &&
|
||||||
chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;
|
chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version; &&
|
||||||
export CFLAGS=$CFLAGS_HOLD
|
|
||||||
export CXXFLAGS=$CFLAGS_HOLD
|
export CFLAGS=$CFLAGS_HOLD &&
|
||||||
|
export CXXFLAGS=$CFLAGS_HOLD &&
|
||||||
unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
||||||
|
|
||||||
<!-- thunderbuild directory does not exist anymore. Leaving as comment,
|
<!-- thunderbuild directory does not exist anymore. Leaving as comment,
|
||||||
|
Loading…
Reference in New Issue
Block a user