svga/drm: Optionally resolve calls to powf during link-time
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 8 Nov 2010 16:10:02 +0000 (17:10 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 9 Nov 2010 11:31:25 +0000 (12:31 +0100)
commit0d5b4b320cf1acde5ff02e9fca696239f5dd3fe4
treec4faef8774d953b54ef392b7ecce2ad13d8eb648
parent8e630fad7260ea9e0c2792f4424a0c1ab0353cc9
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 <thellstrom@vmware.com>
src/gallium/targets/dri-vmwgfx/Makefile
src/gallium/targets/dri-vmwgfx/vmw_powf.c [new file with mode: 0644]