summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-24 12:49:59 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-24 12:49:59 +0000
commit835443cdfe1343ae1b56a30aff4793ede59f10fc (patch)
treefbd01521b1f27108adaba2855ed79e482a6ace93
parentc1999c56611acc07f03dcb51822be3f53a85ebb9 (diff)
downloadmpv-835443cdfe1343ae1b56a30aff4793ede59f10fc.tar.bz2
mpv-835443cdfe1343ae1b56a30aff4793ede59f10fc.tar.xz
Add -mstackrealign to CFLAGS on Darwin, fixes loading WMV9 DLL.
patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24142 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--loader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/Makefile b/loader/Makefile
index 929efd98e6..fcaca703bc 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 += -mstackrealign
endif
endif