diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-03-22 04:19:11 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-03-22 04:20:34 +0000 |
commit | 26173a919ced6179aa758db44fffc3bcac532be6 (patch) | |
tree | 531cde210f94129f8956415692e1b5eae5234801 /sys/conf/files.arm64 | |
parent | c21bc6f3c2425de74141bfee07b609bf65b5a6b3 (diff) | |
download | src-26173a919ced6179aa758db44fffc3bcac532be6.tar.gz src-26173a919ced6179aa758db44fffc3bcac532be6.zip |
arm64/vmm: Exclude more sanitizer compiler flags from certain files
Reported by: rscheff
Fixes: 47e073941f4e ("Import the kernel parts of bhyve/arm64")
Diffstat (limited to 'sys/conf/files.arm64')
-rw-r--r-- | sys/conf/files.arm64 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index ef00857b61c0..679d442f672b 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -124,10 +124,10 @@ arm64/vmm/vmm_arm64.c optional vmm arm64/vmm/vmm_reset.c optional vmm arm64/vmm/vmm_call.S optional vmm arm64/vmm/vmm_hyp_exception.S optional vmm \ - compile-with "${NORMAL_C:N-fsanitize*:N-mbranch-protection*} -fpie" \ + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*:N-mbranch-protection*} -fpie" \ no-obj arm64/vmm/vmm_hyp.c optional vmm \ - compile-with "${NORMAL_C:N-fsanitize*:N-mbranch-protection*} -fpie" \ + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*:N-mbranch-protection*} -fpie" \ no-obj vmm_hyp_blob.elf.full optional vmm \ dependency "vmm_hyp.o vmm_hyp_exception.o" \ |