[Clfs-commits] commit: r4426 - /trunk/BOOK/cross-tools/common/gcc-static.xml

svn at cross-lfs.org svn at cross-lfs.org
Sat Jan 10 01:16:55 PST 2009


Author: jim
Date: Sat Jan 10 09:16:55 2009
New Revision: 4426

Log:
Updates to Prefix Spec in GCC

Modified:
    trunk/BOOK/cross-tools/common/gcc-static.xml

Modified: trunk/BOOK/cross-tools/common/gcc-static.xml
==============================================================================
--- trunk/BOOK/cross-tools/common/gcc-static.xml (original)
+++ trunk/BOOK/cross-tools/common/gcc-static.xml Sat Jan 10 09:16:55 2009
@@ -44,8 +44,8 @@
     <para os="ag">Change the StartFile Spec to point to the correct library
     location:</para>
 
-<screen os="ah"><userinput>for file in $(find gcc/config -name linux.h -o -name linux64.h); do
-echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib"\n' >> ${file}</userinput></screen>
+<screen os="ah"><userinput>for file in $(find gcc/config  -name linux.h -o -name linux64.h ! -wholename gcc/config/linux.h); do
+echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib/"' >> ${file}</userinput></screen>
 
     <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
     include search path to use <filename class="directory">/tools</filename> only:</para>




More information about the Clfs-commits mailing list