summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-09-12 20:33:59 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-09-12 20:33:59 +1000
commit81335d0f1760fe172a106f79e81281c1f0d7dedf (patch)
treef081924b0dad0fdfb1fa94580d63a88498469909 /configs
parentf302fca5eb63e4bca8af5b35c585451486143e6a (diff)
parentaa66f08a21b791f338b519f0c2162cd8f7b3aeb0 (diff)
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Diffstat (limited to 'configs')
-rw-r--r--configs/default4
-rw-r--r--configs/linux-cell4
2 files changed, 7 insertions, 1 deletions
diff --git a/configs/default b/configs/default
index 263955dde9..6c123cc3c5 100644
--- a/configs/default
+++ b/configs/default
@@ -23,6 +23,10 @@ CFLAGS = -O
CXXFLAGS = -O
GLU_CFLAGS =
+# Compiler for building demos/tests/etc
+APP_CC = $(CC)
+APP_CXX = $(CXX)
+
# Misc tools and flags
MKLIB_OPTIONS =
MKDEP = makedepend
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 \