• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/flac/flac-no-altivec.patch
Jérôme PouillerJérôme Pouiller committed adf6511013b30 Aug 2013
Raw file
Source viewDiff to previous
 
1
FLAC assumes every powerpc around has altivec ABI which is wrong.
2
​
3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
​
5
diff -Nura flac-1.2.1/src/libFLAC/Makefile.am flac-1.2.1-noaltivec/src/libFLAC/Makefile.am
6
--- flac-1.2.1/src/libFLAC/Makefile.am  2007-09-14 18:06:17.000000000 -0300
7
+++ flac-1.2.1-noaltivec/src/libFLAC/Makefile.am    2011-01-06 15:14:36.384242614 -0300
8
@@ -41,7 +41,7 @@
9
 else
10
 # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
11
 #@@@ PPC optimizations temporarily disabled
12
-CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
13
+CPUCFLAGS = -DFLAC__NO_ASM
14
 endif
15
 endif
16
 
17
diff -Nura flac-1.2.1/src/libFLAC/Makefile.in flac-1.2.1-noaltivec/src/libFLAC/Makefile.in
18
--- flac-1.2.1/src/libFLAC/Makefile.in  2007-09-16 17:05:12.000000000 -0300
19
+++ flac-1.2.1-noaltivec/src/libFLAC/Makefile.in    2011-01-06 15:14:50.997545602 -0300
20
@@ -240,7 +240,7 @@
21
 @FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE@CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
22
 # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
23
 #@@@ PPC optimizations temporarily disabled
24
-@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
25
+@FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE@CPUCFLAGS = -DFLAC__NO_ASM
26
 
27
 AM_CFLAGS = $(DEBUGCFLAGS) $(CPUCFLAGS) @OGG_CFLAGS@
28
 @FLaC__CPU_PPC_TRUE@@FLaC__NO_ASM_FALSE@ARCH_SUBDIRS = ppc
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.