diff options
author | Zong Li <zong@andestech.com> | 2018-07-26 18:01:00 +0800 |
---|---|---|
committer | Zong Li <zong@andestech.com> | 2018-07-26 20:22:11 +0800 |
commit | 00f0dd04cbdb670f7e81d7fe5c686cb49e7cd182 (patch) | |
tree | e6283a434e107a9d09806d4e24342f3e2d70035f /softfloat/f32_eq.c | |
parent | 537ae11ae506b6fa6c4dd9dc37c9cc818af84027 (diff) | |
download | riscv-pk-00f0dd04cbdb670f7e81d7fe5c686cb49e7cd182.zip riscv-pk-00f0dd04cbdb670f7e81d7fe5c686cb49e7cd182.tar.gz riscv-pk-00f0dd04cbdb670f7e81d7fe5c686cb49e7cd182.tar.bz2 |
Fix stubs-lp64.h/stubs-lp64d.h/stubs-ilp32.h/stubs-ilp32d.h not found
For now, we always compile files with -mabi option by using
soft-fp ABI. But there are some files use the header which in
toolchain, like unistd.h, stdint.h and so on. Finally, these
header files include other header files which existing depend
on ABI such as stubs-lp64.h or stubs-lp64d.h. So it causes the
header file not found when using the double-float toolchain with
soft-float ABI.
Fix up by compiling files with -march and -mabi options only if
there is specifying the --with-arch option at configure time.
If use the --with-arch option at configure time, that means your
toolchain has multi-lib support, so always building riscv-pk
by soft-float ABI is fine. Otherwise, we don't compile files with
specifying march and mabi options explicitly
Diffstat (limited to 'softfloat/f32_eq.c')
0 files changed, 0 insertions, 0 deletions