The previous hack (adding ${CMAKE_ASM_COMPILER} to CMAKE_ASM_FLAGS)
didn't work in all cases, because more recent versions of CMake place
the includes ahead of the flags (which meant that the real assembler
wasn't the first argument to gas-preprocessor.pl.)
2 lines
51 B
Plaintext
Executable File
2 lines
51 B
Plaintext
Executable File
gas-preprocessor.pl @CMAKE_ASM_COMPILER@ ${1+"$@"}
|