[compiler-rt] r288422 - build: fix building for Windows after SVN r287465

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 14:00:54 PST 2016


Author: compnerd
Date: Thu Dec  1 16:00:54 2016
New Revision: 288422

URL: http://llvm.org/viewvc/llvm-project?rev=288422&view=rev
Log:
build: fix building for Windows after SVN r287465

The previous change for enabling MinGW did not preserve the Win32 check and
added the EABI specific routines to a Windows build which does not use the EABI
routines.  Correct the conditional check for that.

Modified:
    compiler-rt/trunk/lib/builtins/CMakeLists.txt

Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=288422&r1=288421&r2=288422&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Thu Dec  1 16:00:54 2016
@@ -395,7 +395,7 @@ if(MINGW)
       udivmodsi4.c
       udivsi3.c
       umoddi3.c)
-else(MINGW)
+elseif(NOT WIN32)
   # TODO the EABI sources should only be added to EABI targets
   set(arm_SOURCES
     ${arm_SOURCES}




More information about the llvm-commits mailing list