summaryrefslogtreecommitdiff
path: root/libgomp/configure.tgt
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-06-06 12:04:49 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2013-06-06 12:04:49 +0200
commit48df3acb54e3d5a623ba7b0890d5a75b502f22d1 (patch)
treeb1706ddf5451449f13131388812e681d3bc6f973 /libgomp/configure.tgt
parent492992e223d0ddaa805be6b2c772e441ea099efd (diff)
downloadgcc-48df3acb54e3d5a623ba7b0890d5a75b502f22d1.tar.gz
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/configure.tgt')
-rw-r--r--libgomp/configure.tgt5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index 2eecc93a349..8b1841792d4 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