diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-18 15:47:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-18 15:47:13 +0000 |
commit | b60a7b43296ce6761abb5c7c05d2233a8f9113d1 (patch) | |
tree | 8a8ada984295cc93823e449c926fd9b7b3715513 /meta | |
parent | 031748a0c01f591649cdee1cee03aa92728f397a (diff) | |
download | poky-b60a7b43296ce6761abb5c7c05d2233a8f9113d1.tar.gz |
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')
-rw-r--r-- | meta/packages/libmad/files/no-force-mem.patch | 16 | ||||
-rw-r--r-- | meta/packages/libmad/libmad_0.15.1b.bb | 1 |
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 0000000000..d4dab7556d --- /dev/null +++ b/meta/packages/libmad/files/no-force-mem.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | This option no longer exists in gcc 3.4.1 | ||
2 | |||
3 | RP - 18/07/2008 | ||
4 | |||
5 | Index: libmad-0.15.1b/configure.ac | ||
6 | =================================================================== | ||
7 | --- libmad-0.15.1b.orig/configure.ac 2008-07-18 15:45:30.000000000 +0100 | ||
8 | +++ libmad-0.15.1b/configure.ac 2008-07-18 15:45:37.000000000 +0100 | ||
9 | @@ -140,7 +140,6 @@ | ||
10 | case "$optimize" in | ||
11 | -O|"-O "*) | ||
12 | optimize="-O" | ||
13 | - optimize="$optimize -fforce-mem" | ||
14 | optimize="$optimize -fforce-addr" | ||
15 | : #x optimize="$optimize -finline-functions" | ||
16 | : #- 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 54b7b2d92c..6262b38db4 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" | |||
6 | PR = "r1" | 6 | PR = "r1" |
7 | 7 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ |
9 | file://no-force-mem.patch;patch=1 \ | ||
9 | file://add-pkgconfig.patch;patch=1" | 10 | file://add-pkgconfig.patch;patch=1" |
10 | 11 | ||
11 | S = "${WORKDIR}/libmad-${PV}" | 12 | S = "${WORKDIR}/libmad-${PV}" |