r8374 - in trunk/BOOK: . chapter01 chapter03 chapter05 chapter06
Greg Schafer
gschafer at zip.com.au
Sat Sep 15 16:22:35 MDT 2007
> Author: jhuntwork
> Date: 2007-09-15 14:45:13 -0600 (Sat, 15 Sep 2007)
> New Revision: 8374
> +<screen><userinput>for file in $(find gcc/config -name linux64.h -o -name linux.h)
> +do
> + cp -uv $file{,.orig}
> + sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' \
> + -e 's@/usr@/tools at g' $file.orig > $file
> + echo "
> +#undef STANDARD_INCLUDE_DIR
> +#define STANDARD_INCLUDE_DIR 0" >> $file
> + touch $file.orig
> +done</userinput></screen>
Ughh, gotta say the above is horrid IMHO. I realize you're trying to get
rid of the specs patch.. but at the expense of your target audience? This
is a critical part of the build method and you've just *massively*
increased the chances of screwups IMNSHO.
Regards
Greg
--
http://www.diy-linux.org/
More information about the lfs-dev
mailing list