diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2023-12-23 00:24:48 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2024-04-15 14:05:13 +0000 |
| commit | 99ac8acf886bcccfb73e4695a2febb8869a29ec3 (patch) | |
| tree | e4cfa54cee9bcb21cb2d278a1819913f6ebda94b | |
| parent | 43e0ae5629213db428a017d5d57afca652d4c53c (diff) | |
build: Do not pass -fno-sanitize-memory-param-retval to subr_coverage.c
In the absence of -fsanitize=kernel-memory, the presence of this flag
results in a -Wunused-command-line-argument warning.
MFC after: 1 week
(cherry picked from commit 2ae32f1f8fcc97c3e9c16effa2ee5e41a1a6c364)
| -rw-r--r-- | sys/conf/files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index b6a85d6a86a2..0bfced5287ec 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3847,7 +3847,7 @@ kern/subr_clock.c standard kern/subr_compressor.c standard \ compile-with "${NORMAL_C} -I$S/contrib/zstd/lib/freebsd" kern/subr_coverage.c optional coverage \ - compile-with "${NORMAL_C:N-fsanitize*}" + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*}" kern/subr_counter.c standard kern/subr_csan.c optional kcsan \ compile-with "${NORMAL_C:N-fsanitize*:N-fstack-protector*}" |
