diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-02-08 15:39:40 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-02-08 16:22:58 +0000 |
commit | e04a75a4ec8240050e2782202f45bdd88d0a7cdf (patch) | |
tree | d684076ded1b05c4cfcaebb6f57cdb280139efe9 | |
parent | a4e5e0106ac7145f56eb39a691e302cabb4635be (diff) | |
download | src-e04a75a4ec8240050e2782202f45bdd88d0a7cdf.tar.gz src-e04a75a4ec8240050e2782202f45bdd88d0a7cdf.zip |
arm64: Fix the unwind.c build when sanitizers are enabled
The presence of -fno-sanitize-memory-param-retval without an
accompanying -fsanitize=kernel-memory triggers a compiler error.
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.
-rw-r--r-- | sys/conf/files.arm64 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index 0eed3db41b16..dcdd429c14c4 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -81,7 +81,7 @@ arm64/arm64/uio_machdep.c standard arm64/arm64/uma_machdep.c standard arm64/arm64/undefined.c standard arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack \ - compile-with "${NORMAL_C:N-fsanitize*}" + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*}" arm64/arm64/vfp.c standard arm64/arm64/vm_machdep.c standard |