diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-09-12 06:15:30 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-09-12 06:15:30 (GMT) |
commit | c6a10370bb021f9123f7fdb9fa24dcb4fdd2679b (patch) | |
tree | c16c2f2e9175e85d26cd13e8342ace35abe1973c /Modules/CMakeASM-ATTInformation.cmake | |
parent | 054be74f8deeb34b9df0b8bb6864e39e4bbb95af (diff) | |
download | CMake-c6a10370bb021f9123f7fdb9fa24dcb4fdd2679b.zip CMake-c6a10370bb021f9123f7fdb9fa24dcb4fdd2679b.tar.gz CMake-c6a10370bb021f9123f7fdb9fa24dcb4fdd2679b.tar.bz2 |
Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed
Alex
Diffstat (limited to 'Modules/CMakeASM-ATTInformation.cmake')
-rw-r--r-- | Modules/CMakeASM-ATTInformation.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeASM-ATTInformation.cmake b/Modules/CMakeASM-ATTInformation.cmake index 353473a..ccd8b12 100644 --- a/Modules/CMakeASM-ATTInformation.cmake +++ b/Modules/CMakeASM-ATTInformation.cmake @@ -1,6 +1,8 @@ # support for AT&T syntax assemblers, e.g. GNU as 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) SET(ASM_DIALECT) |