[uClibc]-Wl broken gcc-uClibc.c
Erik Andersen
andersen at codepoet.org
Thu Feb 21 15:01:32 UTC 2002
On Thu Feb 21, 2002 at 11:10:23AM +0900, Miles Bader wrote:
> The most recent changes to `extra/gcc-uClibc/gcc-uClibc.c' made it
> ignore all `-Wl' options. Here's a patch to fix it [the first hunk
> actually just fixes a mis-indented line]:
[-------snip-------]
> - } else if (strncmp("-Wl,",argv[j], 2) == 0) {
> - if (strstr(argv[j],static_linking) != NULL) {
> - continue;
> - }
> + } else if (strncmp("-Wl,",argv[j], 2) == 0
Hmm. That is still not right. My fault though -- that
strncmp should be matching 4 chars, not 2...
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list