summaryrefslogtreecommitdiff
path: root/meta/packages/libmad
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 15:47:13 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 15:47:13 +0000
commitb60a7b43296ce6761abb5c7c05d2233a8f9113d1 (patch)
tree8a8ada984295cc93823e449c926fd9b7b3715513 /meta/packages/libmad
parent031748a0c01f591649cdee1cee03aa92728f397a (diff)
downloadopenembedded-core-b60a7b43296ce6761abb5c7c05d2233a8f9113d1.tar.gz
openembedded-core-b60a7b43296ce6761abb5c7c05d2233a8f9113d1.tar.bz2
openembedded-core-b60a7b43296ce6761abb5c7c05d2233a8f9113d1.tar.xz
openembedded-core-b60a7b43296ce6761abb5c7c05d2233a8f9113d1.zip
libmad: Remove bogus option which breaks gcc 4.3.1 builds
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4882 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libmad')
-rw-r--r--meta/packages/libmad/files/no-force-mem.patch16
-rw-r--r--meta/packages/libmad/libmad_0.15.1b.bb1
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/libmad/files/no-force-mem.patch b/meta/packages/libmad/files/no-force-mem.patch
new file mode 100644
index 000000000..d4dab7556
--- /dev/null
+++ b/meta/packages/libmad/files/no-force-mem.patch
@@ -0,0 +1,16 @@
+This option no longer exists in gcc 3.4.1
+
+RP - 18/07/2008
+
+Index: libmad-0.15.1b/configure.ac
+===================================================================
+--- libmad-0.15.1b.orig/configure.ac 2008-07-18 15:45:30.000000000 +0100
++++ libmad-0.15.1b/configure.ac 2008-07-18 15:45:37.000000000 +0100
+@@ -140,7 +140,6 @@
+ case "$optimize" in
+ -O|"-O "*)
+ optimize="-O"
+- optimize="$optimize -fforce-mem"
+ optimize="$optimize -fforce-addr"
+ : #x optimize="$optimize -finline-functions"
+ : #- optimize="$optimize -fstrength-reduce"
diff --git a/meta/packages/libmad/libmad_0.15.1b.bb b/meta/packages/libmad/libmad_0.15.1b.bb
index 54b7b2d92..6262b38db 100644
--- a/meta/packages/libmad/libmad_0.15.1b.bb
+++ b/meta/packages/libmad/libmad_0.15.1b.bb
@@ -6,6 +6,7 @@ LICENSE = "GPL"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
+ file://no-force-mem.patch;patch=1 \
file://add-pkgconfig.patch;patch=1"
S = "${WORKDIR}/libmad-${PV}"