diff --git a/mk/platform.mk b/mk/platform.mk index ee785dd7263..fb50285bbd2 100644 --- a/mk/platform.mk +++ b/mk/platform.mk @@ -49,7 +49,7 @@ ifeq ($(CFG_OSTYPE), Darwin) # # NB: Currently GCC's optimizer breaks rustrt (task-comm-1 hangs) on Darwin. CFG_GCC_CFLAGS += -m32 -O0 - CFG_CLANG_CFLAGS += -m32 -O2 + CFG_CLANG_CFLAGS += -m32 -O0 ifeq ($(CFG_CPUTYPE), x86_64) CFG_GCCISH_CFLAGS += -arch i386 CFG_GCCISH_LINK_FLAGS += -arch i386