Cell: Add INCLUDE_DIRS to SPU_CFLAGS to fix build.
authorIan Romanick <idr@us.ibm.com>
Fri, 15 Feb 2008 18:33:12 +0000 (10:33 -0800)
committerIan Romanick <idr@us.ibm.com>
Fri, 15 Feb 2008 18:33:12 +0000 (10:33 -0800)
configs/linux-cell

index fdf20deeeb068f02859ef88f5ac0379a43bff618..fbd6c36a09f3ad25a7d8c0902e24f86950f5e330 100644 (file)
@@ -36,7 +36,9 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \
 
 SPU_CC = spu-gcc
 
-SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main -I. -I $(SDK)/spu/include -include spu_intrinsics.h -I $(TOP)/src/mesa/
+SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main
+       -I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \
+       -include spu_intrinsics.h
 
 SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc