File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1013,7 +1013,7 @@ else ()
10131013
10141014 # For RISCV32 and 32-bit SPARC, we must force enable int128 for compiling long
10151015 # double routines.
1016- if (COMPILER_RT_ENABLE_SOFTWARE_INT128 OR ("${arch} " MATCHES "riscv32|sparc$ "
1016+ if (COMPILER_RT_ENABLE_SOFTWARE_INT128 OR ("${arch} " MATCHES "riscv32|sparc|sparcv9 "
10171017 AND NOT CMAKE_COMPILER_IS_GNUCC))
10181018 list (APPEND BUILTIN_CFLAGS_${arch} -fforce-enable-int128)
10191019 endif ()
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ foreach(arch ${BUILTIN_TEST_ARCH})
4848 string (REPLACE ";" " " BUILTINS_TEST_TARGET_CFLAGS "${BUILTINS_TEST_TARGET_CFLAGS} " )
4949 endif ()
5050
51- if (COMPILER_RT_ENABLE_SOFTWARE_INT128 OR ("${arch} " MATCHES "riscv32|sparc$ "
51+ if (COMPILER_RT_ENABLE_SOFTWARE_INT128 OR ("${arch} " MATCHES "riscv32|sparc|sparcv9 "
5252 AND NOT CMAKE_COMPILER_IS_GNUCC))
5353 list (APPEND BUILTINS_TEST_TARGET_CFLAGS -fforce-enable-int128)
5454 string (REPLACE ";" " " BUILTINS_TEST_TARGET_CFLAGS "${BUILTINS_TEST_TARGET_CFLAGS} " )
You can’t perform that action at this time.
0 commit comments