diff libmpcodecs/Makefile @ 19420:4f71ed7cb512

Move all internal -I parameters to the front of CFLAGS to avoid using external header files that happen to have the same name as internal ones. based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
author diego
date Thu, 17 Aug 2006 17:19:56 +0000
parents 64d82a45a05d
children 5f216140e72b
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Thu Aug 17 16:44:54 2006 +0000
+++ b/libmpcodecs/Makefile	Thu Aug 17 17:19:56 2006 +0000
@@ -317,13 +317,13 @@
 SRCS2=$(ENCODER_SRCS)
 OBJS2=$(SRCS2:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) \
-          -I. -I.. \
+CFLAGS  = -I. -I.. \
           -Inative \
           -I../libmpdemux \
           -I../stream \
           -I../loader \
           $(LIBAV_INC) \
+          $(OPTFLAGS) \
           -D_GNU_SOURCE \
 
 .SUFFIXES: .c .o