projects/linux·commit ec29b8d2

perf tools: Remove -Wcast-align

ec29b8d2 · Paul Mundt <[email protected]> · 2009-10-26 14:40:01 +09:00

The present use of -Wcast-align causes the build to blow up on
SH due to generating a "cast increases required alignment of
target type" error on each invocation of list_for_each_entry().

It seems that this was previously reported and killed off in the
ia64 support patch, but nothing seems to have happened with
that. Presumably the same problem still remains there, too.

Signed-off-by: Paul Mundt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Commit
ec29b8d2af01912bb79adda8aeab4293539f29ac
Parents
84087126

Changes

1 files changed · +1 −2

FileStatusAddDelContent
tools/perf/Makefilemodified+1−2View file

tools/perf/Makefile

View file
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 46e877b..7e190d5 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -177,8 +177,7 @@ endif
# Include saner warnings here, which can catch bugs:
#
-EXTRA_WARNINGS := -Wcast-align
-EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat
+EXTRA_WARNINGS := -Wformat
EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat-security
EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wformat-y2k
EXTRA_WARNINGS := $(EXTRA_WARNINGS) -Wshadow