summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-25 22:59:58 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-25 22:59:58 +0000
commit8dcc6736aba672916bd4bc70a964c30bb11eeafa (patch)
tree799d6ea38b64d65bd41e8b5e025678eb1e822b01 /src/glw
parente9dbe58b8b541d0abb9be9e1000a63776abe678c (diff)
Added -linker option to mklib, used to specify a particular program for
linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
Diffstat (limited to 'src/glw')
-rw-r--r--src/glw/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glw/Makefile b/src/glw/Makefile
index 4f1abf5d31..12719f7c72 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -33,8 +33,9 @@ clean:
# Make the library
$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
- CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \
- -patch $(TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \
+ $(TOP)/bin/mklib -o $(GLW_LIB) -linker $(CC) \
+ -major $(MAJOR) -minor $(MINOR) -patch $(TINY) \
+ $(MKLIB_OPTIONS) -install $(LIB_DIR) \
$(GLW_LIB_DEPS) $(OBJECTS)