diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-01-11 22:43:45 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-01-11 22:43:45 +0000 |
commit | d24e49f301db9612349ed09594e476a8dbc896a5 (patch) | |
tree | f45d856872442e0fc92f0d618ce38595091ef4ac /src/glu | |
parent | 5b28844dba15c0bcce4c5a9ee9f3ed82d6b90fdc (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/glu')
-rw-r--r-- | src/glu/mesa/Makefile | 2 | ||||
-rw-r--r-- | src/glu/sgi/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/Makefile b/src/glu/mesa/Makefile index a09c37ce5f..0924cf8940 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 995dc36650..19f5e280b7 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) |