Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6350d2

Browse files
committed
Issue #1633863: Don't ignore $CC under AIX.
1 parent 6faee4e commit f6350d2

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ Tests
214214
Build
215215
-----
216216

217+
- Issue #1633863: Don't ignore $CC under AIX.
218+
217219
- Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
218220

219221
- Issue #9810: Compile bzip2 source files in python's project file

configure

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 84674 .
2+
# From configure.in Revision: 84752 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.65 for python 3.2.
55
#
@@ -3144,7 +3144,7 @@ if test "${with_gcc+set}" = set; then :
31443144
else
31453145
31463146
case $ac_sys_system in
3147-
AIX*) CC=cc_r
3147+
AIX*) CC=${CC:-xlc_r}
31483148
without_gcc=;;
31493149
*) without_gcc=no;;
31503150
esac
@@ -9230,7 +9230,6 @@ fi
92309230
OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
92319231
fi
92329232
9233-
92349233
# -I${DLINCLDIR} is added to the compile rule for importdl.o
92359234
92369235
DLINCLDIR=.

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ AC_ARG_WITH(gcc,
449449
without_gcc=$withval;;
450450
esac], [
451451
case $ac_sys_system in
452-
AIX*) CC=cc_r
452+
AIX*) CC=${CC:-xlc_r}
453453
without_gcc=;;
454454
*) without_gcc=no;;
455455
esac])

0 commit comments

Comments
 (0)