summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-03 17:50:25 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-03 17:50:25 +0000
commitd47c6f5f3275bfb384d8e8eb932912960be28b12 (patch)
tree2e0ff6eecd1123c901e0ff573aff983ea5fcf578 /loader
parent66e747f5bed99b5cc33fa8808ea3f814090632db (diff)
downloadmpv-d47c6f5f3275bfb384d8e8eb932912960be28b12.tar.bz2
mpv-d47c6f5f3275bfb384d8e8eb932912960be28b12.tar.xz
Add CFLAG_STACKREALIGN unconditionally to win32.o CFLAGS, configure takes care
of setting it only when necessary anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26147 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/Makefile b/loader/Makefile
index c413ffd3b9..6d07e984ea 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -11,8 +11,6 @@ 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
@@ -34,6 +32,7 @@ SRCS_COMMON += dshow/DS_AudioDecoder.c \
include ../mpcommon.mak
CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER)
+win32.o: CFLAGS += $(CFLAG_STACKREALIGN)
TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
TEST_LDFLAGS = -ltermcap -ldl -lm -lpthread -g