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
parent bf0ee680e1
commit 9cdf01af2e
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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