changeset 26115:3eedbd7321ea

Add CFLAG_STACKREALIGN unconditionally to win32.o CFLAGS, configure takes care of setting it only when necessary anyway.
author diego
date Mon, 03 Mar 2008 17:50:25 +0000
parents cc7bc19e3166
children 5306b54354c4
files loader/Makefile
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Mon Mar 03 12:38:33 2008 +0000
+++ b/loader/Makefile	Mon Mar 03 17:50:25 2008 +0000
@@ -11,8 +11,6 @@
 # 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 @@
 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