diff options
author | Jesús Cea <jcea@jcea.es> | 2019-09-28 03:09:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-28 03:09:24 (GMT) |
commit | 598f676880662fb453ff98fda42b7b7068e5be32 (patch) | |
tree | fd285df6c5759b4ef3faef7c2bcfddaa2c8bad87 /configure | |
parent | 90b4e49c98dd0ff948e13dd0618240c2294eb23d (diff) | |
download | cpython-598f676880662fb453ff98fda42b7b7068e5be32.zip cpython-598f676880662fb453ff98fda42b7b7068e5be32.tar.gz cpython-598f676880662fb453ff98fda42b7b7068e5be32.tar.bz2 |
[2.7] bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446). (#16454)
(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
@@ -9602,6 +9602,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" |