Initial commit: Uploaded everything from abs/core
[arch-rock.git] / base / gcc-libs / libgomp-dlopen-fix.patch
blob30174ac60799b65cb867499d79b9d7152a8d38cc
1 --- trunk/libgomp/configure.tgt 2007/05/04 19:20:28 124444
2 +++ trunk/libgomp/configure.tgt 2007/05/04 19:21:18 124445
3 @@ -11,14 +11,11 @@
4 # XLDFLAGS Add extra link flags to use.
6 # Optimize TLS usage by avoiding the overhead of dynamic allocation.
7 -# This does require that the library be present during process
8 -# startup, so mark the library as not to be dlopened.
9 if test $have_tls = yes ; then
10 case "${target}" in
12 *-*-linux*)
13 XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
14 - XLDFLAGS="${XLDFLAGS} -Wl,-z,nodlopen"
16 esac