[MemorySSA] Report unoptimized as None, not MayAlias.
[llvm-project.git] / llvm / cmake / modules / CheckLinkerFlag.cmake
blobfe9d01a349cd8d55f5db93df76414d29f9c03908
1 include(CheckCXXCompilerFlag)
3 function(check_linker_flag flag out_var)
4   set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${flag}")
5   check_cxx_compiler_flag("" ${out_var})
6 endfunction()