diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-26 14:09:28 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-26 14:10:29 -0600 |
commit | b5ab3b7dfc42a568a156dec2fa043292014f98a7 (patch) | |
tree | 755eaf1ae1c152283766696aa843ee2a76c9c746 | |
parent | e6887a5752774c18cf527477fdd3e57e4893ff3b (diff) |
cell: use SDK 3.0 by default
-rw-r--r-- | configs/linux-cell | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell index a701fa73f1..1f02e80edb 100644 --- a/configs/linux-cell +++ b/configs/linux-cell @@ -16,7 +16,10 @@ HOST_CC = gcc OPT_FLAGS = -g # Cell SDK location -SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr +## For SDK 2.1: (plus, remove -DSPU_MAIN_PARAM_LONG_LONG below) +#SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr +## For SDK 3.0: +SDK = /opt/cell/sdk/usr/ CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec \ @@ -43,6 +46,7 @@ SPU_CC = spu-gcc SPU_CFLAGS = $(OPT_FLAGS) -W -Wall -Winline -Wmissing-prototypes -Wno-main \ -I. -I$(SDK)/spu/include -I$(TOP)/src/mesa/ $(INCLUDE_DIRS) \ + -DSPU_MAIN_PARAM_LONG_LONG \ -include spu_intrinsics.h SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc |