diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-28 02:20:31 (GMT) |
---|---|---|
committer | Jesús Cea <jcea@jcea.es> | 2019-09-28 02:20:31 (GMT) |
commit | 8750bce9884335d43ac06989f64473ed877c5b63 (patch) | |
tree | ed2a54053ea682d503b094807aff962821213086 /configure | |
parent | 52bdd414ed9da7c62c312c542803753986a0040a (diff) | |
download | cpython-8750bce9884335d43ac06989f64473ed877c5b63.zip cpython-8750bce9884335d43ac06989f64473ed877c5b63.tar.gz cpython-8750bce9884335d43ac06989f64473ed877c5b63.tar.bz2 |
bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (#16449)
(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
@@ -10500,6 +10500,9 @@ then $as_echo "#define _REENTRANT 1" >>confdefs.h posix_threads=yes + if test "$ac_sys_system" = "SunOS"; then + CFLAGS="$CFLAGS -D_REENTRANT" + fi elif test "$ac_cv_kpthread" = "yes" then CC="$CC -Kpthread" |