mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
Use a sed so that gccbug uses mktemp.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7262 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f420687e72
commit
3154d10b57
@ -124,7 +124,8 @@ First a summary, then a detailed log.</para>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>January 10, 2006 [ken]: Revert my move of mktemp.</para>
|
||||
<listitem><para>January 10, 2006 [ken]: Revert my move of mktemp and add a
|
||||
sed to correct gccbug.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>January 7, 2006 [ken]: Alter the Perl instructions to
|
||||
|
@ -52,6 +52,14 @@ to not require fixing, issue the following command to prevent the
|
||||
|
||||
<screen><userinput>sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen>
|
||||
|
||||
<para>GCC provides a <command>gccbug</command> script which detects at
|
||||
compile time whether mktemp is present, and hardcodes the result in a test.
|
||||
This will cause the script to fall back to using less random names for
|
||||
temporary files. We will be installing mktemp later, so the following sed
|
||||
will simulate its presence.</para>
|
||||
|
||||
<screen>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</screen>
|
||||
|
||||
<para>The GCC documentation recommends building GCC outside of the source
|
||||
directory in a dedicated build directory:</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user