From 0d5b4b320cf1acde5ff02e9fca696239f5dd3fe4 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 8 Nov 2010 17:10:02 +0100 Subject: 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 --- src/gallium/targets/dri-vmwgfx/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/targets/dri-vmwgfx/Makefile') diff --git a/src/gallium/targets/dri-vmwgfx/Makefile b/src/gallium/targets/dri-vmwgfx/Makefile index 97c703b373..38f78932e1 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 = \ -- cgit v1.2.3