diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-06-06 12:04:49 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2013-06-06 12:04:49 +0200 |
commit | 48df3acb54e3d5a623ba7b0890d5a75b502f22d1 (patch) | |
tree | b1706ddf5451449f13131388812e681d3bc6f973 /libgomp | |
parent | 492992e223d0ddaa805be6b2c772e441ea099efd (diff) | |
download | gcc-48df3acb54e3d5a623ba7b0890d5a75b502f22d1.zip gcc-48df3acb54e3d5a623ba7b0890d5a75b502f22d1.tar.gz gcc-48df3acb54e3d5a623ba7b0890d5a75b502f22d1.tar.bz2 |
configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for GNU/Hurd, as done for Linux-based systems.
libgomp/
* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for
GNU/Hurd, as done for Linux-based systems.
From-SVN: r199725
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 3 | ||||
-rw-r--r-- | libgomp/configure.tgt | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f4d6cd6..a78190f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -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> diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 2eecc93..8b18417 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -14,7 +14,10 @@ if test $gcc_cv_have_tls = yes ; then case "${target}" in - *-*-linux*) + *-*-k*bsd*-gnu*) + ;; + + *-*-linux* | *-*-gnu*) XCFLAGS="${XCFLAGS} -ftls-model=initial-exec" ;; esac |