targets: Link xorg drivers with LLVM if built

This commit is contained in:
Jakob Bornecrantz 2010-07-13 07:44:37 -07:00
parent 433a08445c
commit 04453a32b4
1 changed files with 8 additions and 0 deletions

View File

@ -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 #####