Module: xenomai-head
Branch: master
Commit: 3cba4a26686d507a1c77244c181eadd443c12221
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=3cba4a26686d507a1c77244c181eadd443c12221

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Thu Aug 13 23:14:27 2009 +0200

build: Do not compile with __thread by default on ARM

---

 configure.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index fe85e4e..d4e286f 100644
--- a/configure.in
+++ b/configure.in
@@ -67,6 +67,7 @@ else
   build_for=$host_alias
 fi
 
+use__thread=yes
 case "$build_for" in
  i*86*-*)
        XENO_TARGET_ARCH=x86
@@ -92,6 +93,7 @@ case "$build_for" in
        XENO_LINUX_INSTALL_TARGET=install
         ;;
  arm*-*)
+       use__thread=no
        XENO_TARGET_ARCH=arm
        XENO_LINUX_ARCH=arm
        XENO_LINUX_INSTALL_TARGET=install_image
@@ -805,8 +807,7 @@ XENO_DLOPEN_CONSTRAINT=
 AC_ARG_WITH([__thread],
            AC_HELP_STRING([--without-__thread],
                           [do not use TLS features]),
-           [use__thread=$withval],
-           [use__thread=yes])
+           [use__thread=$withval])
 
 dnl Check whether the compiler supports the __thread keyword.
 if test "x$use__thread" != xno -a "x$CONFIG_XENO_LIBS_DLOPEN" != xy; then


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to