summaryrefslogtreecommitdiff
path: root/packaging/libgomp-ftls-global-dynamic.diff
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/libgomp-ftls-global-dynamic.diff')
-rw-r--r--packaging/libgomp-ftls-global-dynamic.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/libgomp-ftls-global-dynamic.diff b/packaging/libgomp-ftls-global-dynamic.diff
new file mode 100644
index 000000000..1f97d93bd
--- /dev/null
+++ b/packaging/libgomp-ftls-global-dynamic.diff
@@ -0,0 +1,13 @@
+diff --git libgomp/configure.tgt libgomp/configure.tgt
+index fd55277..1a1028b 100644
+--- libgomp/configure.tgt
++++ libgomp/configure.tgt
+@@ -15,7 +15,7 @@ if test $gcc_cv_have_tls = yes ; then
+ case "${target}" in
+
+ *-*-linux*)
+- XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
++ XCFLAGS="${XCFLAGS} -ftls-model=global-dynamic"
+ ;;
+ esac
+ fi