aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-03-26 20:28:15 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-03-26 20:28:15 +0000
commitc8f104d30ae0613e67e4348c55bd4cd73271b8ee (patch)
treec68db4c1e3cf89fe66e30ff08c3e98ced9bc05e7 /chapter05/gcc-pass2.xml
parentf3f4c6466cc433ba217e43b439dc2cb2769b77fa (diff)
Upgrade to GCC-4.7.0. Fixes #3044.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9786 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 98243d88b..e2f3cd09c 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -92,9 +92,9 @@ do
sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&amp;@g' \
-e 's@/usr@/tools@g' $file.orig &gt; $file
echo '
-#undef STANDARD_INCLUDE_DIR
-#define STANDARD_INCLUDE_DIR 0
-#define STANDARD_STARTFILE_PREFIX_1 ""
+#undef STANDARD_STARTFILE_PREFIX_1
+#undef STANDARD_STARTFILE_PREFIX_2
+#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib"
#define STANDARD_STARTFILE_PREFIX_2 ""' &gt;&gt; $file
touch $file.orig
done</userinput></screen>