forked from OSchip/llvm-project
Revert "build: always add support for assembly targets on Darwin"
This reverts commit d8e8e32d85
.
This breaks the build on GreenDragon:
http://green.lab.llvm.org/green/job/clang-stage1-RA/13171/console
This commit is contained in:
parent
6587ff77ea
commit
926c14798d
|
@ -110,7 +110,7 @@ endfunction()
|
|||
function(add_asm_sources output)
|
||||
set(${output} ${ARGN} PARENT_SCOPE)
|
||||
# Xcode will try to compile asm files as C ('clang -x c'), and that will fail.
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
|
||||
if (${CMAKE_GENERATOR} STREQUAL "Xcode")
|
||||
enable_language(ASM)
|
||||
else()
|
||||
# Pass ASM file directly to the C++ compiler.
|
||||
|
|
Loading…
Reference in New Issue