summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-vmwgfx/Makefile
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2010-11-08 17:10:02 +0100
committerThomas Hellstrom <[email protected]>2010-11-09 12:31:25 +0100
commit0d5b4b320cf1acde5ff02e9fca696239f5dd3fe4 (patch)
treec4faef8774d953b54ef392b7ecce2ad13d8eb648 /src/gallium/targets/dri-vmwgfx/Makefile
parent8e630fad7260ea9e0c2792f4424a0c1ab0353cc9 (diff)
svga/drm: Optionally resolve calls to powf during link-time
When linked with certain builds of libstdc++, it appears like powf is resolved by a symbol in that library. Other builds of libstdc++ doesn't contain that symbol resulting in a linker / loader error. Optionally resolve that symbol and replace it with calls to logf and expf. Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri-vmwgfx/Makefile')
-rw-r--r--src/gallium/targets/dri-vmwgfx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-vmwgfx/Makefile b/src/gallium/targets/dri-vmwgfx/Makefile
index 97c703b3739..38f78932e13 100644
--- a/src/gallium/targets/dri-vmwgfx/Makefile
+++ b/src/gallium/targets/dri-vmwgfx/Makefile
@@ -12,6 +12,7 @@ PIPE_DRIVERS = \
C_SOURCES = \
target.c \
+ vmw_powf.c \
$(COMMON_GALLIUM_SOURCES)
DRIVER_DEFINES = \