From d24e49f301db9612349ed09594e476a8dbc896a5 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 11 Jan 2005 22:43:45 +0000 Subject: Put quotes around the CC and CXX variables passed to mklib. This make them work with multi-work compiler names (e.g., "ccache gcc"). --- src/glu/mesa/Makefile | 2 +- src/glu/sgi/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glu') diff --git a/src/glu/mesa/Makefile b/src/glu/mesa/Makefile index a09c37ce5fe..0924cf89403 100644 --- a/src/glu/mesa/Makefile +++ b/src/glu/mesa/Makefile @@ -45,7 +45,7 @@ $(LIB_DIR): # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - @CC=$(CC) CXX=$(CXX) $(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) \ $(MKLIB_OPTIONS) -install $(LIB_DIR) \ $(GLU_LIB_DEPS) $(OBJECTS) diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index 995dc366508..19f5e280b7a 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -136,7 +136,7 @@ $(LIB_DIR): # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - CC=$(CC) CXX=$(CXX) $(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