We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277d6f1 commit 093b75eCopy full SHA for 093b75e
tools/scripts/Makefile.include
@@ -32,14 +32,17 @@ EXTRA_WARNINGS += -Wold-style-definition
32
EXTRA_WARNINGS += -Wpacked
33
EXTRA_WARNINGS += -Wredundant-decls
34
EXTRA_WARNINGS += -Wshadow
35
-EXTRA_WARNINGS += -Wstrict-aliasing=3
36
EXTRA_WARNINGS += -Wstrict-prototypes
37
EXTRA_WARNINGS += -Wswitch-default
38
EXTRA_WARNINGS += -Wswitch-enum
39
EXTRA_WARNINGS += -Wundef
40
EXTRA_WARNINGS += -Wwrite-strings
41
EXTRA_WARNINGS += -Wformat
42
+ifneq ($(CC), clang)
43
+EXTRA_WARNINGS += -Wstrict-aliasing=3
44
+endif
45
+
46
ifneq ($(findstring $(MAKEFLAGS), w),w)
47
PRINT_DIR = --no-print-directory
48
else
0 commit comments