diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-06-25 22:51:39 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-06-25 22:51:39 +0000 |
commit | 9ede195b9a0fccf0166919be996ea55700488458 (patch) | |
tree | 307ea9aaad5cfa88d2cfafe2b4c8efc560925735 | |
parent | 23d0d91d898a0dcf30370e4fdb24dbcbc4b07eef (diff) |
Make sure mklib sees the definition of CC and CXX. Make mklib respect
the definitions of CC and CXX on Linux. This fixed build issues with
sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set
to a GCC 3.x compiler.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ clean: # Make the library $(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS) - $(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \ + CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \ -patch $(TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \ $(GLW_LIB_DEPS) $(OBJECTS) |