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 + * 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 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