OSDN Git Service

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 fdf20de..fbd6c36 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