projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
433a084
)
targets: Link xorg drivers with LLVM if built
author
Jakob Bornecrantz
<wallbraker@gmail.com>
Tue, 13 Jul 2010 14:44:37 +0000
(07:44 -0700)
committer
Jakob Bornecrantz
<wallbraker@gmail.com>
Tue, 13 Jul 2010 14:49:00 +0000
(07:49 -0700)
src/gallium/targets/Makefile.xorg
patch
|
blob
|
history
diff --git
a/src/gallium/targets/Makefile.xorg
b/src/gallium/targets/Makefile.xorg
index cfbc5b47c055f44ad9266377def47af60efe343a..c2d00649789f11284760a6d1bbcc1fd3a6f3444b 100644
(file)
--- 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 #####