summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-17 07:22:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-19 17:55:18 +0100
commite0d21f5c4f58f1521d86a39997c4ca62d75ad914 (patch)
treed24b74176c5bcc53aaec7c86a86808755db20c0b
parent804e96e4f66166156f226abe9af1160cb1a84e93 (diff)
downloadpoky-e0d21f5c4f58f1521d86a39997c4ca62d75ad914.tar.gz
libvorbis: Ignore -mfused-madd as well for clang
This option is not universal for all compilers (From OE-Core rev: 2d3b08b4327b3b6b2e16f6a19f1f9a2f951fc027) 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>
-rw-r--r--meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch22
1 files changed, 17 insertions, 5 deletions
diff --git a/meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch b/meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch
index d4fac605b6..36f47f9173 100644
--- a/meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch
+++ b/meta/recipes-multimedia/libvorbis/libvorbis/0001-configure-Check-for-clang.patch
@@ -12,8 +12,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 configure.ac | 19 +++++++++++++++++-- 12 configure.ac | 19 +++++++++++++++++--
13 1 file changed, 17 insertions(+), 2 deletions(-) 13 1 file changed, 17 insertions(+), 2 deletions(-)
14 14
15diff --git a/configure.ac b/configure.ac
16index 28b0a14..2d4e984 100644
17--- a/configure.ac 15--- a/configure.ac
18+++ b/configure.ac 16+++ b/configure.ac
19@@ -98,6 +98,16 @@ AC_ARG_ENABLE(examples, 17@@ -98,6 +98,16 @@ AC_ARG_ENABLE(examples,
@@ -51,6 +49,20 @@ index 28b0a14..2d4e984 100644
51 49
52 # glibc < 2.1.3 has a serious FP bug in the math inline header 50 # glibc < 2.1.3 has a serious FP bug in the math inline header
53 # that will cripple Vorbis. Look to see if the magic FP stack 51 # that will cripple Vorbis. Look to see if the magic FP stack
54-- 52@@ -178,12 +193,12 @@ else
552.17.0 53 fi;;
56 54 powerpc-*-linux*spe)
55 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
56- CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
57- PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
58+ CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT"
59+ PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT";;
60 powerpc-*-linux*)
61 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
62- CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
63- PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
64+ CFLAGS="-O3 -Wall -Wextra -ffast-math -mcpu=750 -D_REENTRANT"
65+ PROFILE="-pg -g -O3 -ffast-math -mcpu=750 -D_REENTRANT";;
66 *-*-linux*)
67 DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
68 CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"