targets: Link xorg drivers with LLVM if built
This commit is contained in:
parent
433a08445c
commit
04453a32b4
|
@ -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 #####
|
||||
|
||||
|
|
Loading…
Reference in New Issue