Fix some behavioral issues on Windows

This commit is contained in:
Justine Tunney 2023-07-09 09:51:59 -07:00
parent 41396ff48a
commit 42ba9901e4
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 44 additions and 7 deletions

View file

@ -100,7 +100,8 @@ o/$(MODE)/libc/calls/mkntenvblock.o: private \
o/$(MODE)/libc/calls/wincrash.o \
o/$(MODE)/libc/calls/ntcontext2linux.o: private \
COPTS += \
-fno-sanitize=all
-fno-sanitize=all \
-fpatchable-function-entry=0,0
ifneq ($(ARCH), aarch64)
# we always want -O3 because: