aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-03-30 20:16:00 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-31 13:54:47 +0200
commit5ea04028e1b2939fe32740c4ce34fe11b91ef617 (patch)
tree38acb69c1a95097d7b8e36e59d20103148abdf80 /package
parent7a9ebd6898079a03aea7529a5d1fe60b0baea309 (diff)
downloadbuildroot-5ea04028e1b2939fe32740c4ce34fe11b91ef617.tar.gz
buildroot-5ea04028e1b2939fe32740c4ce34fe11b91ef617.tar.bz2
mesa3d: specify llvm-prefix
When it's not defined an automatic search is triggered, which can find /usr/bin/llvm-config on distributions that include all development files (like gentoo) and have desktop packages installed. So point it towards the staging dir which is where it should live eventually if/when we've got it to avoid header/include path polution that otherwise leads to build failures. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/mesa3d/mesa3d.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index fc82227b2e..747311021f 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -128,4 +128,7 @@ else
MESA3D_CONF_OPTS += --disable-gles1 --disable-gles2
endif
+# Avoid automatic search of llvm-config
+MESA3D_CONF_OPTS += --with-llvm-prefix=$(STAGING_DIR)/usr/bin
+
$(eval $(autotools-package))