aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-03-22 04:19:11 +0000
committerMark Johnston <markj@FreeBSD.org>2024-03-22 04:20:34 +0000
commit26173a919ced6179aa758db44fffc3bcac532be6 (patch)
tree531cde210f94129f8956415692e1b5eae5234801 /sys/modules
parentc21bc6f3c2425de74141bfee07b609bf65b5a6b3 (diff)
downloadsrc-26173a919ced6179aa758db44fffc3bcac532be6.tar.gz
src-26173a919ced6179aa758db44fffc3bcac532be6.zip
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/vmm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/vmm/Makefile b/sys/modules/vmm/Makefile
index 075e594c4da1..1ef9e264ee97 100644
--- a/sys/modules/vmm/Makefile
+++ b/sys/modules/vmm/Makefile
@@ -41,11 +41,11 @@ CLEANFILES+= vmm_hyp_blob.elf vmm_hyp_blob.bin
vmm_hyp_exception.o: vmm_hyp_exception.S
${CC} -c -x assembler-with-cpp -DLOCORE \
- ${CFLAGS:N-fsanitize*:N-mbranch-protection*} \
+ ${CFLAGS:N-fsanitize*:N-fno-sanitize*:N-mbranch-protection*} \
${.IMPSRC} -o ${.TARGET} -fpie
vmm_hyp.o: vmm_hyp.c
- ${CC} -c ${CFLAGS:N-fsanitize*:N-mbranch-protection*} \
+ ${CC} -c ${CFLAGS:N-fsanitize*:N-fno-sanitize*:N-mbranch-protection*} \
${.IMPSRC} -o ${.TARGET} -fpie
vmm_hyp_blob.elf.full: vmm_hyp_exception.o vmm_hyp.o