diff options
author | Jakob Bornecrantz <[email protected]> | 2010-07-13 07:44:37 -0700 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-07-13 07:49:00 -0700 |
commit | 04453a32b49a57fbf72319b045f71761c998f7b3 (patch) | |
tree | a9309ebe9a1bd1165769f1c491292868391f4313 /src/gallium | |
parent | 433a08445c69e40758ab321e80fb366240e3c21a (diff) |
targets: Link xorg drivers with LLVM if built
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/Makefile.xorg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/Makefile.xorg b/src/gallium/targets/Makefile.xorg index cfbc5b47c05..c2d00649789 100644 --- a/src/gallium/targets/Makefile.xorg +++ b/src/gallium/targets/Makefile.xorg @@ -28,6 +28,14 @@ INCLUDES = \ LIBNAME_STAGING = $(TOP)/$(LIB_DIR)/gallium/$(TARGET) +ifeq ($(MESA_LLVM),1) +LD = g++ +LDFLAGS += $(LLVM_LDFLAGS) +USE_CXX=1 +DRIVER_PIPES += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a +DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl +endif + ##### TARGETS ##### |