[PATCH] libertas link error due to gcc `smartness'

2007-10-08 Thread Geert Uytterhoeven
Some versions of gcc replace strstr() calls with a single-character `needle' parameter by strchr() behind our back. This causes a link error if strchr() is defined as an inline function in asm/string.h (e.g. on m68k): | drivers/built-in.o: In function `libertas_parse_chan': |

Re: [PATCH] libertas link error due to gcc `smartness'

2007-10-08 Thread Dan Williams
On Mon, 2007-10-08 at 09:43 +0200, Geert Uytterhoeven wrote: Some versions of gcc replace strstr() calls with a single-character `needle' parameter by strchr() behind our back. This causes a link error if strchr() is defined as an inline function in asm/string.h (e.g. on m68k): |