diff options
author | Brian <[email protected]> | 2008-01-28 18:17:55 -0700 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-02-15 13:50:24 +1100 |
commit | 1c65928d8400a350993687d7039e5e47371ae8b8 (patch) | |
tree | abe672a918b7726ba072da7c8a8ff66431f8ff9a /configs | |
parent | e308dc4465fb3869a8423ed9608da35b426ef993 (diff) |
Cell: add OPT_FLAGS var
Diffstat (limited to 'configs')
-rw-r--r-- | configs/linux-cell | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/linux-cell b/configs/linux-cell index 4f0086cc1ff..3d874491e41 100644 --- a/configs/linux-cell +++ b/configs/linux-cell @@ -10,11 +10,13 @@ CC = ppu32-gcc CXX = ppu32-g++ HOST_CC = gcc +OPT_FLAGS = -g + # Cell SDK location SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr -CFLAGS = -g -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec -I. -I$(SDK)/include -DGALLIUM_CELL +CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec -I. -I$(SDK)/include -DGALLIUM_CELL CXXFLAGS = $(CFLAGS) @@ -34,7 +36,7 @@ GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread \ SPU_CC = spu-gcc -SPU_CFLAGS = -g -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 -include spu_intrinsics.h -I $(TOP)/src/mesa/ SPU_LFLAGS = -L$(SDK)/spu/lib -Wl,-N -lmisc |