[compiler-rt] Use arm-specific builtins sources for arm/mingw builds
authorMartin Storsjö <martin@martin.st>
Thu, 11 Mar 2021 20:17:48 +0000 (22:17 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 13 Mar 2021 20:22:01 +0000 (22:22 +0200)
Previously, that configuration only used the generic sources, in
addition to the couple specifically chosen arm/mingw files.

Differential Revision: https://reviews.llvm.org/D98547

compiler-rt/lib/builtins/CMakeLists.txt

index f171a3e..efdc987 100644 (file)
@@ -489,7 +489,7 @@ if(MINGW)
     arm/aeabi_uldivmod.S
     arm/chkstk.S
     mingw_fixfloat.c
-    ${GENERIC_SOURCES}
+    ${arm_SOURCES}
   )
 elseif(NOT WIN32)
   # TODO the EABI sources should only be added to EABI targets