summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-01-11 22:43:45 +0000
committerIan Romanick <idr@us.ibm.com>2005-01-11 22:43:45 +0000
commitd24e49f301db9612349ed09594e476a8dbc896a5 (patch)
treef45d856872442e0fc92f0d618ce38595091ef4ac /src/glx
parent5b28844dba15c0bcce4c5a9ee9f3ed82d6b90fdc (diff)
Put quotes around the CC and CXX variables passed to mklib. This make
them work with multi-work compiler names (e.g., "ccache gcc").
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/mini/Makefile2
-rw-r--r--src/glx/x11/Makefile2
2 files changed, 2 insertions, 2 deletions
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)