mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/pkg-cmake: remove override of CMAKE_ASM_COMPILER
CMAKE_ASM_COMPILER is supposed to point to a compiler wrapper (i.e. gcc), _not_ to as directly. If it is not set, it will use the value of CMAKE_C_COMPILER. That's exactly what we want, so there is no need to set CMAKE_ASM_COMPILER at all. For target, we don't set CMAKE_ASM_COMPILER either. Setting CMAKE_ASM_COMPILER leads to build failures for any package that actually tries to build .S files for the host - like llvm. This is why llvm has an override for it. Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
9b9333c929
commit
22af5f2939
@@ -147,7 +147,6 @@ define $(2)_CONFIGURE_CMDS
|
||||
-DCMAKE_CXX_FLAGS="$$(HOST_CXXFLAGS)" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="$$(HOST_LDFLAGS)" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="$$(HOST_LDFLAGS)" \
|
||||
-DCMAKE_ASM_COMPILER="$$(HOSTAS)" \
|
||||
-DCMAKE_C_COMPILER="$$(CMAKE_HOST_C_COMPILER)" \
|
||||
-DCMAKE_CXX_COMPILER="$$(CMAKE_HOST_CXX_COMPILER)" \
|
||||
$(if $$(CMAKE_HOST_C_COMPILER_LAUNCHER),\
|
||||
|
||||
Reference in New Issue
Block a user