void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

invalid_tls_model.patch (678B)


      1--- libgomp/configure.tgt	2018-11-08 18:13:04.000000000 +0100
      2+++ libgomp/configure.tgt	2019-06-29 20:06:31.972950350 +0200
      3@@ -10,23 +10,6 @@
      4 #  XCFLAGS		Add extra compile flags to use.
      5 #  XLDFLAGS		Add extra link flags to use.
      6 
      7-# Optimize TLS usage by avoiding the overhead of dynamic allocation.
      8-if test $gcc_cv_have_tls = yes ; then
      9-  case "${target}" in
     10-
     11-    *-*-k*bsd*-gnu*)
     12-	;;
     13-
     14-    *-*-linux* | *-*-gnu*)
     15-	XCFLAGS="${XCFLAGS} -ftls-model=initial-exec -DUSING_INITIAL_EXEC_TLS"
     16-	;;
     17-
     18-    *-*-rtems*)
     19-	XCFLAGS="${XCFLAGS} -ftls-model=local-exec"
     20-	;;
     21-  esac
     22-fi
     23-
     24 # Since we require POSIX threads, assume a POSIX system by default.
     25 config_path="posix"
     26