HomeFreeBSD

Fix building for powerpc* targets with some compilers

Description

Fix building for powerpc* targets with some compilers

Under some configurations, GCC didn't predefined macro 'powerpc' for
such a target. Use the guaranteed macro 'powerpc' instead.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: WHR <msl0000023508@gmail.com>
Closes #14631

Details

Provenance
Low-power <msl0000023508@gmail.com>Authored on Mar 15 2023, 5:44 PM
GitHub <noreply@github.com>Committed on Mar 15 2023, 5:44 PM
Parents
rGb7bc334d1351: Split functional testings via github action matrix
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGc31bb934cd30: Fix building for powerpc* targets with some compilers (authored by Low-power <msl0000023508@gmail.com>).Mar 15 2023, 5:44 PM