aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-28 23:30:24 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-28 23:30:24 +0000
commit8be0a5c384a26936cf070fb20bffcc6a1a130e1f (patch)
tree3bf85649b01bb7de051b6582c4cba192cf199419 /common.mak
parent2c2cdc0bfbe14710c321c1a9beb2605d89950557 (diff)
downloadffmpeg-8be0a5c384a26936cf070fb20bffcc6a1a130e1f.tar.gz
Move ECFLAGS so it doesn't get added multiple times
Originally committed as revision 21520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 2 insertions, 1 deletions
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)