projects/linux·blob v7.0-rc4 · refs

11 lines · 411 B

1# SPDX-License-Identifier: GPL-2.0
2
3context-analysis-cflags := -DWARN_CONTEXT_ANALYSIS \
4 -fexperimental-late-parse-attributes -Wthread-safety \
5 -Wthread-safety-pointer -Wthread-safety-beta
6
7ifndef CONFIG_WARN_CONTEXT_ANALYSIS_ALL
8context-analysis-cflags += --warning-suppression-mappings=$(srctree)/scripts/context-analysis-suppression.txt
9endif
10
11export CFLAGS_CONTEXT_ANALYSIS := $(context-analysis-cflags)