mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
pulseaudio: Treat -Wunused-command-line-argument as error
This ensures that it does not enble SSE when -msse flag is passed, clang warns about unused option on non-x86 targets but it must be flagged as error for configure to notice and fail the check to enable SSE on non-x86 machines (From OE-Core rev: 976b01c798ad2825bb36e5e91d1d5066701cc586) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -71,6 +71,9 @@ inherit bash-completion meson pkgconfig useradd gettext perlnative systemd manpa
|
||||
# if using --disable-nls
|
||||
USE_NLS = "yes"
|
||||
|
||||
# Helps tests for -msse fail on non-SSE architectures which is all non-x86
|
||||
TUNE_CCARGS:append:toolchain-clang = " -Werror=unused-command-line-argument"
|
||||
|
||||
EXTRA_OEMESON = "\
|
||||
-Dhal-compat=false \
|
||||
-Dorc=disabled \
|
||||
|
||||
Reference in New Issue
Block a user