Skip to content

Commit 300add0

Browse files
committed
build: request c++ compiler for host and build machine
meson complains: ../meson.build:34: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. The ci builds are using cross compiler, thus we need the c++ compiler in this scenario. Signed-off-by: Daniel Wagner <wagi@kernel.org>
1 parent 6b71e9b commit 300add0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif
3131

3232
################################################################################
3333
cc = meson.get_compiler('c')
34-
cxx_available = add_languages('cpp', required: false)
34+
cxx_available = add_languages('cpp', required: false, native: false)
3535

3636
prefixdir = get_option('prefix')
3737
libdir = join_paths(prefixdir, get_option('libdir'))

0 commit comments

Comments
 (0)