diff options
| author | Jesús Cea <jcea@jcea.es> | 2019-09-28 03:44:32 +0200 |
|---|---|---|
| committer | Jesús Cea <jcea@jcea.es> | 2019-09-28 04:16:55 +0200 |
| commit | cbf04fd2a519ed0560d1b04cd24c43e9d8086c87 (patch) | |
| tree | 7065eacec441629a64d30b2071628c269481f7fd /configure | |
| parent | f0501630b0ba31448c230c756b1027647f4ef100 (diff) | |
| download | cpython-git-backport-52d1b86-3.6.tar.gz | |
[3.6] bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446).backport-52d1b86-3.6
(cherry picked from commit 52d1b86bde2b772a76919c76991c326384954bf1)
Co-authored-by: Jesús Cea <jcea@jcea.es>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10406,6 +10406,9 @@ then posix_threads=yes THREADOBJ="Python/thread.o" + if test "$ac_sys_system" = "SunOS"; then + CFLAGS="$CFLAGS -D_REENTRANT" + fi elif test "$ac_cv_kpthread" = "yes" then CC="$CC -Kpthread" |
