diff options
| author | Daniel R. Gomez <gomez@teragram.com> | 2012-06-18 16:19:38 -0400 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2012-06-18 16:21:54 -0400 |
| commit | d6865175a73f657336e48557bd670b08743df5a7 (patch) | |
| tree | 09545673b2c0ac7fc70b2518885e7ef4db16fe8e /Tests/Assembler | |
| parent | b39924cf222e0c2e958a780dfe77ca60592d2afd (diff) | |
| download | cmake-d6865175a73f657336e48557bd670b08743df5a7.tar.gz | |
Tests/Assembler: Assemble and link with same flags (#13314)
The test uses the C compiler as the assembler so use the C flags for ASM
too. This is important when the flags specify the target ABI.
Diffstat (limited to 'Tests/Assembler')
| -rw-r--r-- | Tests/Assembler/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index ad27e57e96..456e4961f0 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -23,6 +23,7 @@ endif("${CMAKE_GENERATOR}" MATCHES "Makefile") if(SRCS) + set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}") enable_language(ASM OPTIONAL) else(SRCS) message(STATUS "No assembler enabled, using C") |
