diff options
-rw-r--r-- | meta/recipes-graphics/mesa/glx-use-tls.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/glx-use-tls.inc b/meta/recipes-graphics/mesa/glx-use-tls.inc new file mode 100644 index 0000000000..7530872fa4 --- /dev/null +++ b/meta/recipes-graphics/mesa/glx-use-tls.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | def get_tls_setting(bb, d): | ||
2 | # until we have no prober TLS support in uclibc disable it | ||
3 | if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : | ||
4 | return "" | ||
5 | return "--enable-glx-tls" | ||
6 | |||
7 | EXTRA_OECONF += "${@get_tls_setting(bb, d)}" | ||