From: Jakob Bornecrantz Date: Tue, 13 Jul 2010 14:44:37 +0000 (-0700) Subject: targets: Link xorg drivers with LLVM if built X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04453a32b49a57fbf72319b045f71761c998f7b3;p=mesa.git targets: Link xorg drivers with LLVM if built --- 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 #####