summaryrefslogtreecommitdiffstats
path: root/classes/glx-use-tls.bbclass
blob: 7530872fa424fcd0310bade28668627ff200ebca (plain)
1
2
3
4
5
6
7
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"

EXTRA_OECONF += "${@get_tls_setting(bb, d)}"