From b527d8f723c98c77f2f5c5358062e5348493d767 Mon Sep 17 00:00:00 2001 From: woglinde Date: Sat, 10 Jan 2009 02:28:47 +0100 Subject: mesa: disable tls for uclibc * uclibc has no proper TLS support so disable it * no bump of PR because its not changing the behavior on glibc and for uclibc it has been not buildable --- packages/mesa/mesa-common.inc | 5 ++++- packages/mesa/mesa-tls.inc | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 packages/mesa/mesa-tls.inc (limited to 'packages') diff --git a/packages/mesa/mesa-common.inc b/packages/mesa/mesa-common.inc index 9bb7d3ef01..9cd10eb3e3 100644 --- a/packages/mesa/mesa-common.inc +++ b/packages/mesa/mesa-common.inc @@ -15,7 +15,10 @@ inherit autotools pkgconfig EXTRA_OECONF = "--enable-glu \ --disable-glw \ --disable-glut \ - --enable-glx-tls" + " + +require mesa-tls.inc +EXTRA_OECONF += "${@get_tls_setting(bb, d)} " PACKAGES =+ "libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" FILES_libgl = "${libdir}/libGL.so.*" diff --git a/packages/mesa/mesa-tls.inc b/packages/mesa/mesa-tls.inc new file mode 100644 index 0000000000..1472aa7e74 --- /dev/null +++ b/packages/mesa/mesa-tls.inc @@ -0,0 +1,6 @@ + +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" -- cgit v1.2.3