瀏覽代碼

Use HOST_CC for programs that will run on the build host

tags/mesa_20090313
Ian Romanick 18 年之前
父節點
當前提交
b3492a2052
共有 3 個文件被更改,包括 3 次插入1 次删除
  1. 1
    0
      configs/default
  2. 1
    0
      configs/linux-cell
  3. 1
    1
      src/mesa/x86/Makefile

+ 1
- 0
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 =

+ 1
- 0
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

+ 1
- 1
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

Loading…
取消
儲存