make: Drop HOST_CC and HOST_CFLAGS.
authorEric Anholt <eric@anholt.net>
Mon, 11 Jun 2012 16:46:02 +0000 (09:46 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 Jun 2012 16:58:12 +0000 (09:58 -0700)
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
src/mesa/x86/Makefile

index 20ba796424fe7b30ebc357d27c7c611ab4b95d57..bf67d347fe44bb2f0bc3748bcadaf6ee6d3ffcce 100644 (file)
@@ -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
 
index 9716dc27f9779cf7fd1906c7d1c04af90da5f6c0..81071767e1dbc3f3f49fdbee6902a8feb6a548a8 100644 (file)
@@ -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