diff options
author | Brian Paul <[email protected]> | 2010-08-24 12:18:09 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-08-24 12:18:09 -0700 |
commit | ad58f0d9e021065d8e6d82e1aa7387dcd206f86e (patch) | |
tree | 0cb32dd4184168404503f5c146074a164dc6d10d /src/gallium | |
parent | d3772eab2d1f72a1f1199b2860941995b9826c98 (diff) |
make: Use C++ compiler to link stdc++ library.
glxinfo and glxgears run on swrast and softpipe without undefined symbol
errors.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/libgl-xlib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-xlib/Makefile b/src/gallium/targets/libgl-xlib/Makefile index e745023ba59..fe0541543ab 100644 --- a/src/gallium/targets/libgl-xlib/Makefile +++ b/src/gallium/targets/libgl-xlib/Makefile @@ -68,8 +68,9 @@ $(TOP)/$(LIB_DIR)/gallium: # Make the libGL.so library $(TOP)/$(LIB_DIR)/gallium/$(GL_LIB_NAME): $(XLIB_TARGET_OBJECTS) $(LIBS) Makefile $(TOP)/bin/mklib -o $(GL_LIB) \ - -linker "$(CC)" \ + -linker "$(CXX)" \ -major $(GL_MAJOR) -minor $(GL_MINOR) -patch $(GL_TINY) \ + -cplusplus \ -install $(TOP)/$(LIB_DIR)/gallium \ $(MKLIB_OPTIONS) $(XLIB_TARGET_OBJECTS) \ -Wl,--start-group $(LIBS) -Wl,--end-group $(GL_LIB_DEPS) |