From 300bd34553a986d543c57bcead2ba14cc1cb7a82 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 1 Dec 2016 22:00:54 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288422 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/builtins/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/builtins/CMakeLists.txt') diff --git a/lib/builtins/CMakeLists.txt b/lib/builtins/CMakeLists.txt index ff023dafa..b33786a85 100644 --- a/lib/builtins/CMakeLists.txt +++ b/lib/builtins/CMakeLists.txt @@ -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} -- cgit v1.2.3