summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASM-ATTCompiler.cmake
blob: a2efb6aa68f86debbac26d56bc16f110f917eb99 (plain)
1
2
3
4
5
6
7
8
9
10
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.


# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as

set(ASM_DIALECT "-ATT")
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as)
include(CMakeDetermineASMCompiler)
set(ASM_DIALECT)