Add external pixman CFLAGS after all internal include paths
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 11 Feb 2009 17:55:20 +0000 (09:55 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 11 Feb 2009 19:55:59 +0000 (11:55 -0800)
With the pixman CFLAGS at the beginning of the command line, my build
was picking up the glcore.h from glproto, which doesn't have any of the
TFP fields in __GLcontextmodes.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
src/gallium/state_trackers/egl/Makefile

index 17d1a7a..c9124b1 100644 (file)
@@ -7,13 +7,13 @@ TOP        = ../../../..
 include ${TOP}/configs/current
 
 CFLAGS += -g -Wall -Werror=implicit-function-declaration -fPIC \
-          $(shell pkg-config --cflags pixman-1 xorg-server) \
           -I${GALLIUMDIR}/include \
           -I${GALLIUMDIR}/auxiliary \
           -I${TOP}/src/mesa/drivers/dri/common \
           -I${TOP}/src/mesa \
           -I$(TOP)/include \
           -I$(TOP)/src/egl/main \
+          $(shell pkg-config --cflags pixman-1 xorg-server) \
           ${LIBDRM_CFLAGS}
 
 #############################################