From 8be0a5c384a26936cf070fb20bffcc6a1a130e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 28 Jan 2010 23:30:24 +0000 Subject: [PATCH] Move ECFLAGS so it doesn't get added multiple times Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.mak b/common.mak index e94e98e639..c4d5f2be0c 100644 --- a/common.mak +++ b/common.mak @@ -20,6 +20,7 @@ endif ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS) +CFLAGS += $(ECFLAGS) %.o: %.c $(CCDEP) @@ -54,7 +55,7 @@ endif OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes) -CFLAGS += $(CFLAGS-yes) $(ECFLAGS) +CFLAGS += $(CFLAGS-yes) OBJS += $(OBJS-yes) FFLIBS := $(FFLIBS-yes) $(FFLIBS) TESTPROGS += $(TESTPROGS-yes)