projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70fe763
)
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang v2
author
Brad Smith
<
[email protected]
>
Tue, 11 Mar 2025 04:31:47 +0000
(
00:31
-0400)
committer
Brad Smith
<
[email protected]
>
Sun, 16 Mar 2025 04:10:37 +0000
(
00:10
-0400)
v2: test for function if AltiVec is enabled instead of with AltiVec and without VSX
(cherry picked from commit
49c8f33262d7c113c71cee9cd30b990a92afa0a1
)
Signed-off-by: Brad Smith <
[email protected]
>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 7ed91884788f3060a87c97c8d3b92fe0660ff46c..819e1ae1e997f1e15b937922e076c7ebb60174b0 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-6355,7
+6355,7
@@
elif enabled ppc; then
check_cpp_condition power8 "altivec.h" "defined(_ARCH_PWR8)"
fi
- if enabled altivec
&& disabled vsx
; then
+ if enabled altivec; then
check_cc vec_xl altivec.h "const unsigned char *y1i = { 0 };
vector unsigned char y0 = vec_xl(0, y1i);"
fi