mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix compile on ppc.
PR: ports/188278 Submitted by: nwhitehorn@
This commit is contained in:
parent
eeabcd7024
commit
d4ed80463d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355735
1 changed files with 25 additions and 0 deletions
25
multimedia/vlc/files/patch-configure
Normal file
25
multimedia/vlc/files/patch-configure
Normal file
|
@ -0,0 +1,25 @@
|
|||
Index: multimedia/vlc/files/patch-configure
|
||||
===================================================================
|
||||
--- multimedia/vlc/files/patch-configure (revision 0)
|
||||
+++ multimedia/vlc/files/patch-configure (working copy)
|
||||
@@ -0,0 +1,20 @@
|
||||
+--- configure.orig 2014-02-04 19:02:27.000000000 -0600
|
||||
++++ configure 2014-02-04 19:02:39.000000000 -0600
|
||||
+@@ -26703,7 +26703,7 @@
|
||||
+ if ac_fn_c_try_compile "$LINENO"; then :
|
||||
+ ac_cv_altivec_inline="yes"
|
||||
+ else
|
||||
+- CFLAGS="${CFLAGS} -Wa,-m7400"
|
||||
++ CFLAGS="${CFLAGS} -Wa,-maltivec"
|
||||
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
+ /* end confdefs.h. */
|
||||
+
|
||||
+@@ -26716,7 +26716,7 @@
|
||||
+ }
|
||||
+ _ACEOF
|
||||
+ if ac_fn_c_try_compile "$LINENO"; then :
|
||||
+- ac_cv_altivec_inline="-Wa,-m7400"
|
||||
++ ac_cv_altivec_inline="-Wa,-maltivec"
|
||||
+ else
|
||||
+ ac_cv_altivec_inline=no
|
||||
+ fi
|
Loading…
Add table
Reference in a new issue