projects
/
profile
/
ivi
/
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
cfbc5b4
..
c2d0064
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 #####