From ed922742377bb241176e624497f5493479d82f83 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sun, 3 Jan 2010 19:07:50 +0000 Subject: Fix GCC's libiberty testsuite due to a conflict with Glibc's getline function. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9144 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter06') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index d61a1f8de..343939f95 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -66,6 +66,11 @@ esac sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + Apply a sed substitution to prevent a testsuite +error: + +sed -i 's/getline/get_line/' libiberty/testsuite/test-demangle.c + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: -- cgit v1.2.3-54-g00ecf