> Sorry, I didn't realize you were talking about "-Wno-error" literally. > This may break non-gcc compilers. It would be better to come up with > an $(INTERNAL_CFLAGS) variant that does not include -Werror in the first > place, and use that instead in the memmem.o rule. gdb/Makefile.in uses > INTERNAL_WARN_CFLAGS for exactly that. I suggest to do the same here. Take > a look at the monitor.o rule in gdb/Makefile.in. Duh - rookie mistake :-(. Here is a new version that separates the warning flags, -Werror flags and the rest into 3 separate variables... Retested on x86_64-linux. -- Joel