summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-20 23:19:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-27 09:01:16 +0100
commitb20585724f17c1ec261d3ce2f2dd986d636c895f (patch)
treefcf58fcf2c1ab20eef158161fed1aa82c76045d8 /meta
parent2d251863fc069c36d07ef00119e0c38e216640a0 (diff)
downloadpoky-b20585724f17c1ec261d3ce2f2dd986d636c895f.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 18c12ede63..3c65aaee6e 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -71,6 +71,9 @@ inherit bash-completion meson pkgconfig useradd gettext perlnative systemd manpa
71# if using --disable-nls 71# if using --disable-nls
72USE_NLS = "yes" 72USE_NLS = "yes"
73 73
74# Helps tests for -msse fail on non-SSE architectures which is all non-x86
75TUNE_CCARGS:append:toolchain-clang = " -Werror=unused-command-line-argument"
76
74EXTRA_OEMESON = "\ 77EXTRA_OEMESON = "\
75 -Dhal-compat=false \ 78 -Dhal-compat=false \
76 -Dorc=disabled \ 79 -Dorc=disabled \