Skip to content
Permalink
Browse files

cmake: Fixed ASM checks incorrectly checking for ATT dialect support …

…on GAS files
  • Loading branch information...
Snaipe committed Sep 11, 2016
1 parent 6b03bd5 commit 3e7125826e8add1d7cb9fc3da355827338382544
Showing with 1 addition and 1 deletion.
  1. +1 −1 .cmake/Modules/CheckCompile.cmake
@@ -13,7 +13,7 @@ function (check_type_exists _T _H _VAR)
endfunction ()

function (check_asm_source_compiles _S _VAR)
if (NOT CMAKE_ASM-ATT_COMPILER_WORKS)
if (NOT CMAKE_ASM_COMPILER_WORKS)
set (${_VAR} FALSE)
return ()
endif ()

0 comments on commit 3e71258

Please sign in to comment.
You can’t perform that action at this time.