aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård2009-07-12 13:29:38 +0000
committerMåns Rullgård2009-07-12 13:29:38 +0000
commit3198f6187a0b659a1bc4678270a93c9942fc2a0f (patch)
tree62e6e8438d32b792c9e59a705caa75464e56253b
parent467256f2485836b96288eb9d4c52e25d722525dd (diff)
Set CFLAGS directly in config.mak instead of using OPTFLAGS
Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--common.mak1
-rwxr-xr-xconfigure2
2 files changed, 1 insertions, 2 deletions
diff --git a/common.mak b/common.mak
index eeeb6f54f8..20d32ed835 100644
--- a/common.mak
+++ b/common.mak
@@ -19,7 +19,6 @@ endif
ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
CPPFLAGS += -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH)
-CFLAGS := $(OPTFLAGS)
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
diff --git a/configure b/configure
index 34aba9149e..41ef72fe06 100755
--- a/configure
+++ b/configure
@@ -2485,7 +2485,7 @@ enabled stripping &&
echo "STRIP=echo ignoring strip" >> config.mak
echo "CPPFLAGS?=$CPPFLAGS" >> config.mak
-echo "OPTFLAGS=$CFLAGS" >> config.mak
+echo "CFLAGS=$CFLAGS" >> config.mak
echo "LDFLAGS=$LDFLAGS" >> config.mak
echo "FFSERVERLDFLAGS=$FFSERVERLDFLAGS" >> config.mak
echo "SHFLAGS=$SHFLAGS" >> config.mak