From 8dcc6736aba672916bd4bc70a964c30bb11eeafa Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 25 Jul 2005 22:59:58 +0000 Subject: 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. --- src/glu/sgi/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glu/sgi') diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index 19f5e280b7a..30372c9592d 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -136,8 +136,8 @@ $(LIB_DIR): # Make the library: $(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS) - CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GLU_LIB) -major $(GLU_MAJOR) \ - -minor $(GLU_MINOR) -patch $(GLU_TINY) \ + $(TOP)/bin/mklib -o $(GLU_LIB) -linker $(CXX) \ + -major $(GLU_MAJOR) -minor $(GLU_MINOR) -patch $(GLU_TINY) \ -cplusplus $(MKLIB_OPTIONS) -install $(LIB_DIR) \ $(GLU_LIB_DEPS) $(OBJECTS) -- cgit v1.2.3