summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
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 /src/mesa/x86
parentffcb4d84984dde393d914e1a4af5b83488683071 (diff)
downloadexternal_mesa3d-b3492a2052a8877739ddf430922ed48ae30d84da.zip
external_mesa3d-b3492a2052a8877739ddf430922ed48ae30d84da.tar.gz
external_mesa3d-b3492a2052a8877739ddf430922ed48ae30d84da.tar.bz2
Use HOST_CC for programs that will run on the build host
Diffstat (limited to 'src/mesa/x86')
-rw-r--r--src/mesa/x86/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/Makefile b/src/mesa/x86/Makefile
index 3c6a6b1..09481dc 100644
--- a/src/mesa/x86/Makefile
+++ b/src/mesa/x86/Makefile
@@ -21,7 +21,7 @@ clean:
gen_matypes: gen_matypes.c
- $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
+ $(HOST_CC) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
# need some special rules here, unfortunately
matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes