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/glu/sgi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glu/sgi/Makefile') diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index 940c14901a..f1d0d70ebf 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -128,7 +128,7 @@ default: $(LIB_DIR)/$(GLU_LIB_NAME) # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLU_LIB) -major $(GLU_MAJOR) \ + CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLU_LIB) -major $(GLU_MAJOR) \ -minor $(GLU_MINOR) -patch $(GLU_TINY) \ -cplusplus $(MKLIB_OPTIONS) -install $(LIB_DIR) \ $(GLU_LIB_DEPS) $(OBJECTS) -- cgit v1.2.3