]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cmake: remove CMAKE_ASM_FLAGS variable in toolchain file
authorMartin Beeger <martin.beeger@online.de>
Mon, 18 Jul 2022 16:50:23 +0000 (18:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Aug 2022 10:29:57 +0000 (11:29 +0100)
commit72729ffbab53f95ee9dd1bc22913d9b864495930
treeb1921c41c9fee1c2db0d025fa4df977312803a50
parent7c7a488116f49083ca42d3628ebc0870585110c3
cmake: remove CMAKE_ASM_FLAGS variable in toolchain file

As discussied in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The CMAKE_ASM_FLAGS are the configuration are meant for  assembly,
but the spelling is incorrect and the Flag is ASFLAGS for gcc and other compilers.
So this variable might neever have worked and it is better for
recipes to specify their own.

Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake