Move all internal -I parameters to the front of CFLAGS to avoid using external
[ffmpeg.git] / libavformat / Makefile
index 294c209cfe15727ace5048c8f1e35b17e71f7a6e..eecbcb25bf03a10e19974826602523953cf3e103 100644 (file)
@@ -4,8 +4,8 @@
 #
 include ../config.mak
 
-CFLAGS=$(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
-       -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 \
+CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec \
+       $(OPTFLAGS) -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 \
        -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
 
 OBJS= utils.o cutils.o os_support.o allformats.o