We don't know what types of warnings different versions of flex and bison
combined with different versions of gcc is going to generate, so just punt and
don't warn about anything.
This fixes the build of perf for me on an openSUSE 12.1 system.
Cc: Peter Zijlstra <email@example.com>
Cc: Paul Mackerras <firstname.lastname@example.org>
Cc: Ingo Molnar <email@example.com>
Cc: Arnaldo Carvalho de Melo <firstname.lastname@example.org>
Signed-off-by: Greg Kroah-Hartman <email@example.com>
Note, I don't really like this, but how else are we going to ensure that we
catch all warnings? Pick them off one by one? Better ideas are
accepted, but something needs to be done soon, you don't want this
broken for 3.4.
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 9bf3fc7..92271d3 100644
@@ -774,10 +774,10 @@ $(OUTPUT)perf.o perf.spec \
# over the general rule for .o
$(OUTPUT)%.o: %.c $(OUTPUT)PERF-CFLAGS
$(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $<
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/