mirror of https://github.com/python/cpython
gh-108447: Detect platform triplets for x86_64 GNU/Hurd (#108045)
This commit is contained in:
parent
a071ecb4d1
commit
edb569e8e1
|
@ -0,0 +1 @@
|
|||
Fix x86_64 GNU/Hurd build
|
|
@ -225,7 +225,13 @@ PLATFORM_TRIPLET=i386-kfreebsd-gnu
|
|||
# error unknown platform triplet
|
||||
# endif
|
||||
#elif defined(__gnu_hurd__)
|
||||
# if defined(__x86_64__) && defined(__LP64__)
|
||||
PLATFORM_TRIPLET=x86_64-gnu
|
||||
# elif defined(__i386__)
|
||||
PLATFORM_TRIPLET=i386-gnu
|
||||
# else
|
||||
# error unknown platform triplet
|
||||
# endif
|
||||
#elif defined(__APPLE__)
|
||||
PLATFORM_TRIPLET=darwin
|
||||
#elif defined(__VXWORKS__)
|
||||
|
|
Loading…
Reference in New Issue