summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--libavcodec/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d5a9d376e0..b2a34a1625 100644
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,7 @@ ifeq ($(BUILD_VHOOK),yes)
endif
.depend: $(SRCS)
- $(CC) -MM $(CFLAGS) $^ 1>.depend
+ $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
.libs: lib
@test -f .libs || touch .libs
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 40f189bd04..03d90fe767 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -119,6 +119,7 @@ OBJS += i386/fdct_mmx.o i386/cputest.o \
i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o
ifdef TARGET_BUILTIN_VECTOR
i386/fft_sse.o: CFLAGS+= -msse
+depend: CFLAGS+= -msse
endif
endif