aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:48:26 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 23:48:26 +0000
commit84a7dc232d8d21a757b84cbea5f41292a90344f8 (patch)
tree4f33d88c7b27ae49129e33918de3a4e99e02c001 /chapter06
parenta5b2aa952edbfaf52eada536e7a8fe7d8de30bba (diff)
removed all non-essential CFLAGS and LDFLAGS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2552 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils-inst.xml5
-rw-r--r--chapter06/gcc-inst.xml5
-rw-r--r--chapter06/glibc-inst.xml3
3 files changed, 5 insertions, 8 deletions
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml
index 588caee4b..0c2d4f973 100644
--- a/chapter06/binutils-inst.xml
+++ b/chapter06/binutils-inst.xml
@@ -16,14 +16,13 @@ cd ../binutils-build</userinput></screen></para>
<para>Next, prepare Binutils to be compiled:</para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;../binutils-&binutils-version;/configure \
+<para><screen><userinput>../binutils-&binutils-version;/configure \
&nbsp;&nbsp;&nbsp;&nbsp;--prefix=/usr --mandir=/usr/share/man \
&nbsp;&nbsp;&nbsp;&nbsp;--infodir=/usr/share/info --enable-shared</userinput></screen></para>
<para>Continue with compiling the package:</para>
-<para><screen><userinput>make tooldir=/usr LDFLAGS="-s"</userinput></screen></para>
+<para><screen><userinput>make tooldir=/usr</userinput></screen></para>
<para><screen><userinput>make check</userinput></screen></para>
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 0aa8fd173..0d35d818c 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -26,8 +26,7 @@ cd ../gcc-build</userinput></screen></para>
<para>Prepare GCC to be compiled:</para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;../gcc-&gcc-version;/configure --prefix=/usr \
+<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-threads=posix \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-__cxa_atexit --enable-clocale=gnu \
&nbsp;&nbsp;&nbsp;&nbsp;--mandir=/usr/share/man \
@@ -55,7 +54,7 @@ is implemented.</para></listitem>
<para>Continue with compiling the package:</para>
-<para><screen><userinput>make LDFLAGS="-s"</userinput></screen></para>
+<para><screen><userinput>make</userinput></screen></para>
<para><screen><userinput>make -k check</userinput></screen></para>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 78e384289..0edfa2b2e 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -11,8 +11,7 @@ cd ../glibc-build</userinput></screen></para>
<para>Next, prepare Glibc to be compiled:</para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" \
-&nbsp;&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/configure --prefix=/usr \
+<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin \
&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/usr/include \