mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
changed -e LDFLAGS=-static to BOOT_LDFLAGS=-static and removed -e
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
06596602b6
commit
f065b08913
@ -6,6 +6,10 @@ This new patch deals with incorrect handling of weak symbols, the
|
|||||||
over-optimization of calls to those weak symbols, an atexit issue and
|
over-optimization of calls to those weak symbols, an atexit issue and
|
||||||
the __dso_handle symbol required for atexit's proper function.</para>
|
the __dso_handle symbol required for atexit's proper function.</para>
|
||||||
|
|
||||||
|
<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
|
||||||
|
This is the equivalent to make LDFLAGS=-static as we use with other
|
||||||
|
packages to compile them statically.</para>
|
||||||
|
|
||||||
<para><userinput>--prefix=/usr:</userinput> This is NOT a typo. GCC hard
|
<para><userinput>--prefix=/usr:</userinput> This is NOT a typo. GCC hard
|
||||||
codes some paths while compiling and so we need to pass /usr as the
|
codes some paths while compiling and so we need to pass /usr as the
|
||||||
prefix during ./configure. We pass the real install prefix during the
|
prefix during ./configure. We pass the real install prefix during the
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
|
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
|
||||||
<userinput> --enable-languages=c,c++ --disable-nls \</userinput>
|
<userinput> --enable-languages=c,c++ --disable-nls \</userinput>
|
||||||
<userinput> --disable-shared &&</userinput>
|
<userinput> --disable-shared &&</userinput>
|
||||||
<userinput>make -e LDFLAGS=-static bootstrap &&</userinput>
|
<userinput>make BOOT_LDFLAGS=-static bootstrap &&</userinput>
|
||||||
<userinput>make prefix=$LFS/usr install &&</userinput>
|
<userinput>make prefix=$LFS/usr install &&</userinput>
|
||||||
<userinput>cd $LFS/lib &&</userinput>
|
<userinput>cd $LFS/lib &&</userinput>
|
||||||
<userinput>ln -sf ../usr/bin/cpp &&</userinput>
|
<userinput>ln -sf ../usr/bin/cpp &&</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user