summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-12-01 22:00:54 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-12-01 22:00:54 +0000
commitaba0edb340263af8fabc411969d514819ffe6300 (patch)
tree93f5ea44db60cd4fd8ead6457f417816479f07db /compiler-rt
parente40caaee99a9a34030f33fe5548f22b26d02db8b (diff)
downloadbcm5719-llvm-aba0edb340263af8fabc411969d514819ffe6300.tar.gz
bcm5719-llvm-aba0edb340263af8fabc411969d514819ffe6300.zip
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. llvm-svn: 288422
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/builtins/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index ff023dafa62..b33786a858e 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/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}
OpenPOWER on IntegriCloud