diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-10-26 16:11:06 +0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2023-10-30 13:29:33 -0700 |
| commit | 54616e7049701996fab1dfb85ba0ebc3189b53ec (patch) | |
| tree | 1d0c48c8cdcf7d201f7a1925c4e29b811b8b1ca0 /lang/python/python3/Config-python3-light.in | |
| parent | f9f1e0220f872263d8f12c38df9984a40625430f (diff) | |
rust: Fix compile error for mipsel_24kc+24kf
Currently, rust fails to build for mipsel_24kc+24kf with "opcode not
supported on this processor: mips1 (mips1)" errors when building
libunwind.
Because mipsel_24kc+24kf is hard-float, a certain section of
src/llvm-project/libunwind/src/UnwindRegistersRestore.S is selected to
be compiled; the instructions in this section require MIPS II.
mipsel_24kc+24kf is compiled for MIPS32 Release 2 (MIPS32 is based on
MIPS II), but the C flags used to select this architecture were not
passed to the rust bootstrap (to be passed back to gcc).
This passes the C flags to rust bootstrap to fix this compile error.
This also adds PKG_BUILD_FLAGS:=no-mips16 as attempting to generate
MIPS16 code leads to a different compile error.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/Config-python3-light.in')
0 files changed, 0 insertions, 0 deletions
