Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f4b3f2

Browse files
committed
Mention aix cc_r is not supported, and why
1 parent ec4aa14 commit 0f4b3f2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

config/acx_pthread.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ if test "x$acx_pthread_ok" = xyes; then
202202
LIBS="$save_LIBS"
203203
CFLAGS="$save_CFLAGS"
204204
205+
# Not a common AIX compiler so we don't support it and adding a specific
206+
# compiler usage for every thread compile is ugly
207+
# AIX threading requires gcc
205208
# More AIX lossage: must compile with cc_r
206209
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
207210
else

configure

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14236,6 +14236,9 @@ echo "${ECHO_T}${flag}" >&6
1423614236
LIBS="$save_LIBS"
1423714237
CFLAGS="$save_CFLAGS"
1423814238

14239+
# Not a common AIX compiler so we don't support it and adding a specific
14240+
# compiler usage for every thread compile is ugly
14241+
# AIX threading requires gcc
1423914242
# More AIX lossage: must compile with cc_r
1424014243
# Extract the first word of "cc_r", so it can be a program name with args.
1424114244
set dummy cc_r; ac_word=$2

0 commit comments

Comments
 (0)