Add CFLAG_STACKREALIGN unconditionally to win32.o CFLAGS, configure takes care
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 3 Mar 2008 17:50:25 +0000 (17:50 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 3 Mar 2008 17:50:25 +0000 (17:50 +0000)
of setting it only when necessary anyway.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@26147 b3059339-0415-0410-9bf9-f77b7e298cf2

loader/Makefile

index c413ffd..6d07e98 100644 (file)
@@ -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