summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-06 10:04:49 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-06 10:04:49 +0000
commit3a930d3fc68785662f5f3f4af02474cb21a62056 (patch)
treeb1706ddf5451449f13131388812e681d3bc6f973 /libgomp
parent6731634deb51e8aebd43b7fc34fe8330d6a0edba (diff)
downloadgcc-3a930d3fc68785662f5f3f4af02474cb21a62056.tar.gz
libgomp/
* configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for GNU/Hurd, as done for Linux-based systems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199725 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog3
-rw-r--r--libgomp/configure.tgt5
2 files changed, 7 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f4d6cd60074..a78190f24fc 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 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