# Patch allowing building universal Python (ppc+ppc64). Supported only for 10.5.x
old
|
new
|
|
1523 | 1523 | specify the kind of macOS universal binary that |
1524 | 1524 | should be created. This option is only valid when |
1525 | 1525 | --enable-universalsdk is set; options are: |
1526 | | ("universal2", "intel-64", "intel-32", "intel", |
| 1526 | ("universal2", "intel-64", "intel-32", "intel", "powerpc", |
1527 | 1527 | "32-bit", "64-bit", "3-way", or "all") see |
1528 | 1528 | Mac/README.rst |
1529 | 1529 | --with-framework-name=FRAMEWORK |
… |
… |
|
7519 | 7519 | LIPO_INTEL64_FLAGS="-extract x86_64" |
7520 | 7520 | ARCH_RUN_32BIT="true" |
7521 | 7521 | ;; |
| 7522 | powerpc) |
| 7523 | UNIVERSAL_ARCH_FLAGS="-arch ppc -arch ppc64" |
| 7524 | LIPO_32BIT_FLAGS="-extract ppc7400" |
| 7525 | ARCH_RUN_32BIT="/usr/bin/arch -ppc" |
| 7526 | ;; |
7522 | 7527 | intel) |
7523 | 7528 | UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64" |
7524 | 7529 | LIPO_32BIT_FLAGS="-extract i386" |
… |
… |
|
7540 | 7545 | ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc" |
7541 | 7546 | ;; |
7542 | 7547 | *) |
7543 | | as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$LINENO" 5 |
| 7548 | as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|powerpc|3-way" "$LINENO" 5 |
7544 | 7549 | ;; |
7545 | 7550 | esac |
7546 | 7551 | |
… |
… |
|
7584 | 7589 | if test ${enable_universalsdk} |
7585 | 7590 | then |
7586 | 7591 | case "$UNIVERSAL_ARCHS" in |
7587 | | all|3-way|intel|64-bit) |
| 7592 | all|3-way|intel|powerpc|64-bit) |
7588 | 7593 | # These configurations were first supported in 10.5 |
7589 | 7594 | cur_target='10.5' |
7590 | 7595 | ;; |