mirror of
https://github.com/python/cpython.git
synced 2025-11-09 14:06:30 +00:00
#22980: fix triplet configure test for powerpc-linux-gnu
This commit is contained in:
parent
4171bbe687
commit
9abe04975a
2 changed files with 2 additions and 0 deletions
1
configure
vendored
1
configure
vendored
|
|
@ -5071,6 +5071,7 @@ $as_echo_n "checking for the platform triplet based on compiler characteristics.
|
||||||
cat >> conftest.c <<EOF
|
cat >> conftest.c <<EOF
|
||||||
#undef linux
|
#undef linux
|
||||||
#undef i386
|
#undef i386
|
||||||
|
#undef powerpc
|
||||||
#undef unix
|
#undef unix
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
# if defined(__x86_64__) && defined(__LP64__)
|
# if defined(__x86_64__) && defined(__LP64__)
|
||||||
|
|
|
||||||
|
|
@ -730,6 +730,7 @@ AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
|
||||||
cat >> conftest.c <<EOF
|
cat >> conftest.c <<EOF
|
||||||
#undef linux
|
#undef linux
|
||||||
#undef i386
|
#undef i386
|
||||||
|
#undef powerpc
|
||||||
#undef unix
|
#undef unix
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
# if defined(__x86_64__) && defined(__LP64__)
|
# if defined(__x86_64__) && defined(__LP64__)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue