[uClibc]Re: bogus change to gcc-uClibc?

Miles Bader miles at lsi.nec.co.jp
Mon Feb 25 07:22:53 UTC 2002


Miles Bader <miles at lsi.nec.co.jp> writes:
> It looks like this will result in any `-Wl,...' options the user
> specifies not being passed to gcc!  That's surely wrong...

I tested the new version, and indeed, it breaks my builds.  I removed
the lines that ignore `-Wl,...', and now everything works great (for me).

Here's the diff, to be more precise:

--- gcc-uClibc.c.~1.30.~	Mon Feb 25 10:49:33 2002
+++ gcc-uClibc.c	Mon Feb 25 16:19:09 2002
@@ -291,10 +291,6 @@ int main(int argc, char **argv)
 			continue;
 		} else if (strstr(argv[j],static_linking) != NULL) {
 			continue;
-		} else if (strncmp("-Wl,",argv[j], 4) == 0) {
-		    continue;
-		} else if (strncmp("-v",argv[j], 2) == 0) {
-		    continue;
 		} else {
 			gcc_argument[k++] = argv[j];
 			gcc_argument[k] = '\0';

-Miles
-- 
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature.



More information about the uClibc mailing list