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 | 9eecb03226a534e0fe59973133371b72e7c0d63d (patch) | |
tree | e1cff8862d5631117638abcc8f40750e2367c740 /src/glx/mini | |
parent | 74b380b2ec16b387628b4e01f25eca7baf634048 (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.
Diffstat (limited to 'src/glx/mini')
-rw-r--r-- | src/glx/mini/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile index c030641feb..45bf6dd158 100644 --- a/src/glx/mini/Makefile +++ b/src/glx/mini/Makefile @@ -45,7 +45,7 @@ default: depend $(LIB_DIR)/$(GL_LIB_NAME) # Make libGL $(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile - $(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 |