Bug 778414. Fix clang builds on OpenBSD/i386. r=glandium

This commit is contained in:
Landry Breuil 2012-07-30 17:57:04 +02:00
Родитель b300f51d4b
Коммит 31fe3efb2e
3 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -646,8 +646,10 @@ signal.h
SimpleGameSound.h
SIOUX.h
size_t.h
sndio.h
someincludefile.h
Sound.h
soundcard.h
sqlite3.h
ssdef.h
sslerr.h

Просмотреть файл

@ -3621,6 +3621,7 @@ MOZ_TLS=
if test "$ac_cv_thread_keyword" = yes -a "$MOZ_LINKER" != 1; then
# mips builds fail with TLS variables because of a binutils bug.
# See bug 528687
# OpenBSD doesn't have TLS support, and the test succeeds with clang++
case "${target}" in
mips*-*)
:
@ -3628,6 +3629,9 @@ if test "$ac_cv_thread_keyword" = yes -a "$MOZ_LINKER" != 1; then
*-android*|*-linuxandroid*)
:
;;
*-openbsd*)
:
;;
*)
AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
MOZ_TLS=1

Просмотреть файл

@ -646,8 +646,10 @@ signal.h
SimpleGameSound.h
SIOUX.h
size_t.h
sndio.h
someincludefile.h
Sound.h
soundcard.h
sqlite3.h
ssdef.h
sslerr.h