--- a/src/mesa/drivers/dri/nouveau/Makefile 2011-03-14 21:49:21.562118715 +0200 +++ b/src/mesa/drivers/dri/nouveau/Makefile 2011-03-14 21:52:29.457555152 +0200 @@ -3,7 +3,7 @@ TOP = ../../../../.. include $(TOP)/configs/current -CFLAGS += $(shell pkg-config libdrm libdrm_nouveau --cflags) +LIBDRM_CFLAGS += $(shell pkg-config libdrm_nouveau --cflags) DRI_LIB_DEPS += $(shell pkg-config libdrm_nouveau --libs) LIBNAME = nouveau_vieux_dri.so