From b60a7b43296ce6761abb5c7c05d2233a8f9113d1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 18 Jul 2008 15:47:13 +0000 Subject: 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 --- meta/packages/libmad/files/no-force-mem.patch | 16 ++++++++++++++++ meta/packages/libmad/libmad_0.15.1b.bb | 1 + 2 files changed, 17 insertions(+) create mode 100644 meta/packages/libmad/files/no-force-mem.patch 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 @@ +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 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" 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}" -- cgit v1.2.3-54-g00ecf