summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-01-03 15:08:53 -0800
committerIan Romanick <idr@us.ibm.com>2008-01-23 15:25:52 -0800
commitb3492a2052a8877739ddf430922ed48ae30d84da (patch)
treecaac687c5622751691cfc6acb121f0f7dce9c127 /configs
parentffcb4d84984dde393d914e1a4af5b83488683071 (diff)
Use HOST_CC for programs that will run on the build host
Diffstat (limited to 'configs')
-rw-r--r--configs/default1
-rw-r--r--configs/linux-cell1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/default b/configs/default
index 6ce0249a9a..166205a1d3 100644
--- a/configs/default
+++ b/configs/default
@@ -18,6 +18,7 @@ DRM_SOURCE_PATH=$(TOP)/../drm
# Compiler and flags
CC = cc
CXX = CC
+HOST_CC = $(CC)
CFLAGS = -O
CXXFLAGS = -O
GLU_CFLAGS =
diff --git a/configs/linux-cell b/configs/linux-cell
index 02bf61c6b4..f4d8ef2145 100644
--- a/configs/linux-cell
+++ b/configs/linux-cell
@@ -8,6 +8,7 @@ CONFIG_NAME = linux-cell
# Compiler and flags
CC = ppu32-gcc
CXX = ppu32-g++
+HOST_CC = gcc
# Cell SDK location
SDK = /opt/ibm/cell-sdk/prototype/sysroot/usr