Mesa (master): make: Drop HOST_CC and HOST_CFLAGS.
Eric Anholt
anholt at kemper.freedesktop.org
Thu Jun 21 17:20:40 UTC 2012
Module: Mesa
Branch: master
Commit: acf27121a5cda81429bbbaa43debdf662f9558d2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=acf27121a5cda81429bbbaa43debdf662f9558d2
Author: Eric Anholt <eric at anholt.net>
Date: Mon Jun 11 09:46:02 2012 -0700
make: Drop HOST_CC and HOST_CFLAGS.
Except for the deleted linux-cell target, these were just the target
cc/cflags. The only usage was for gen_matypes, which wants the
target's structure packing, not the host, anyway.
---
configs/default | 2 --
src/mesa/x86/Makefile | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/configs/default b/configs/default
index 20ba796..bf67d34 100644
--- a/configs/default
+++ b/configs/default
@@ -19,11 +19,9 @@ DRM_SOURCE_PATH=$(TOP)/../drm
# Compiler and flags
CC = cc
CXX = CC
-HOST_CC = $(CC)
CFLAGS = -O
CXXFLAGS = -O
LDFLAGS =
-HOST_CFLAGS = $(CFLAGS)
GLU_CFLAGS =
GLX_TLS = no
diff --git a/src/mesa/x86/Makefile b/src/mesa/x86/Makefile
index 9716dc2..8107176 100644
--- a/src/mesa/x86/Makefile
+++ b/src/mesa/x86/Makefile
@@ -21,7 +21,7 @@ clean:
gen_matypes: gen_matypes.c
- $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
+ $(CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
# need some special rules here, unfortunately
matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
More information about the mesa-commit
mailing list