From 9eecb03226a534e0fe59973133371b72e7c0d63d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 25 Jun 2004 22:51:39 +0000 Subject: Make sure mklib sees the definition of CC and CXX. Make mklib respect the definitions of CC and CXX on Linux. This fixed build issues with sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set to a GCC 3.x compiler. --- src/mesa/drivers/dri/x11/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/x11/Makefile') diff --git a/src/mesa/drivers/dri/x11/Makefile b/src/mesa/drivers/dri/x11/Makefile index a0334b17a3..4fe42a2fbf 100644 --- a/src/mesa/drivers/dri/x11/Makefile +++ b/src/mesa/drivers/dri/x11/Makefile @@ -67,7 +67,7 @@ default: depend $(LIB_DIR)/$(LIBNAME) $(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile - $(TOP)/bin/mklib -o $(LIBNAME) -noprefix -install $(LIB_DIR) \ + CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(LIBNAME) -noprefix -install $(LIB_DIR) \ $(OBJECTS) $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES) -- cgit v1.2.3