148
148
# since the default ABI differs between gcc and clang.
149
149
# FIXME: Ideally, we would build the N32 library too.
150
150
test_target_arch(mipsel "" "-mips32r2" "--target=mipsel-linux-gnu")
152
152
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "mips")
153
153
test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu")
155
155
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm")
156
156
test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft")
157
157
test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard")