Commit d6865175 authored by Daniel R. Gomez's avatar Daniel R. Gomez Committed by Brad King

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.
parent b39924cf
......@@ -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")
......
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