configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for GNU/Hurd, as done for Linux...
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 6 Jun 2013 10:04:49 +0000 (12:04 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Thu, 6 Jun 2013 10:04:49 +0000 (12:04 +0200)
libgomp/
* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
GNU/Hurd, as done for Linux-based systems.

From-SVN: r199725

libgomp/ChangeLog
libgomp/configure.tgt

index f4d6cd60074df226626eb9ab6f3fdfad85308df6..a78190f24fc65603c8b26a246c1b69cc1d2cf274 100644 (file)
@@ -1,5 +1,8 @@
 2013-06-06  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
+       GNU/Hurd, as done for Linux-based systems.
+
        * config/posix/ptrlock.h: Fix comment.
 
 2013-05-27  Tobias Burnus  <burnus@net-b.de>
index 2eecc93a349f3afe9e0afbbc2e98194065873498..8b1841792d496dfcd1545784a2abca4a132c4797 100644 (file)
 if test $gcc_cv_have_tls = yes ; then
   case "${target}" in
 
-    *-*-linux*)
+    *-*-k*bsd*-gnu*)
+       ;;
+
+    *-*-linux* | *-*-gnu*)
        XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
        ;;
   esac