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/glx/mini/Makefile | 2 +- src/glx/x11/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx') diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile index 7c2687b014..612610526e 100644 --- a/src/glx/mini/Makefile +++ b/src/glx/mini/Makefile @@ -55,7 +55,7 @@ default: depend $(LIB_DIR)/$(GL_LIB_NAME) # Make libGL $(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile - CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \ + CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \ -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) rm -f $(LIB_DIR)/miniglx.conf install example.miniglx.conf $(LIB_DIR)/miniglx.conf diff --git a/src/glx/x11/Makefile b/src/glx/x11/Makefile index 37d55c783a..910db404b5 100644 --- a/src/glx/x11/Makefile +++ b/src/glx/x11/Makefile @@ -86,7 +86,7 @@ glcontextmodes.c: # Make libGL $(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile - CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \ + CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \ -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) -- cgit v1.2.3