Commit c6a10370 authored by Alexander Neundorf's avatar Alexander Neundorf
Browse files

Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed

Alex
parent 054be74f
# support for AT&T syntax assemblers, e.g. GNU as # support for AT&T syntax assemblers, e.g. GNU as
SET(ASM_DIALECT "-ATT") SET(ASM_DIALECT "-ATT")
SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;S;asm) # *.S files are supposed to be preprocessed, so they should not be passed to
# assembler but should be processed by gcc
SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;asm)
INCLUDE(CMakeASMInformation) INCLUDE(CMakeASMInformation)
SET(ASM_DIALECT) SET(ASM_DIALECT)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment