From 90c93bbeeec1a8ca75b68004afc5d8cb689860bc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 11 Sep 2008 11:00:54 -0600 Subject: define new APP_CC configuration variable for building apps/demos/tests For Cell, need to use different compilers for the libraries vs. the demos/tests to avoid strange link error regarding "_Unwind_GetIPInfo@GCC_4.2.0" --- configs/linux-cell | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configs/linux-cell') diff --git a/configs/linux-cell b/configs/linux-cell index cdaa17c663..86651b83d7 100644 --- a/configs/linux-cell +++ b/configs/linux-cell @@ -12,6 +12,8 @@ GALLIUM_DRIVER_DIRS += cell CC = ppu32-gcc CXX = ppu32-g++ HOST_CC = gcc +APP_CC = gcc +APP_CXX = g++ OPT_FLAGS = -O3 @@ -19,7 +21,7 @@ OPT_FLAGS = -O3 ## 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/ +SDK = /opt/cell/sdk/usr CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -mabi=altivec -maltivec \ -- cgit v1.2.3