Re: [PATCH] cmake: read asm flags correctly from environment in toolchain file
Martin Beeger
The docs say that cmake is consuming ASMFLAGS (https://cmake.org/cmake/help/v3.23/envvar/ASM_DIALECTFLAGS.html). If that is not the correct spelling for the given langage mode for gcc, we should probably set CMAKE_AS_FLAGS instead and assume the general mechanism in https://cmake.org/cmake/help/v3.23/variable/CMAKE_LANG_FLAGS.html works.
toggle quoted messageShow quoted text
It seems the best option to not provide the line at all in this case, as the default set here is unlikely to be correct then. Are there any projects/recipes who are known to use cmake in combination with providing direct assembly files and linking them to programs (in openembedded)? Am 15.02.22 um 15:18 schrieb Peter Kjellerstedt:
-----Original Message-----For the record, the variable name that, e.g., make expects for assembler
|
|