summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/Makefile b/loader/Makefile
index 929efd98e6..509c148fc2 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -11,6 +11,8 @@ SRCS_COMMON += ldt_keeper.c pe_image.c module.c ext.c win32.c \
# QTX emulation is not supported in Darwin
ifneq ($(TARGET_OS),Darwin)
SRCS_COMMON += wrapper.S
+else
+win32.o: CFLAGS += $(CFLAG_STACKREALIGN)
endif
endif