Browse Source

libmad: fixed compiling issue while using gcc >= 4.3

Note:
The -fforce-mem option has been removed in gcc 4.3
see: http://gcc.gnu.org/gcc-4.3/changes.html
user/karasz/test/ecn
Christian Wiese 15 years ago committed by Alejandro Mery
parent
commit
5ad87c9b65
  1. 29
      audio/libmad/gcc43.patch

29
audio/libmad/gcc43.patch

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libmad/gcc43.patch
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
The -fforce-mem option has been removed in gcc 4.3
http://gcc.gnu.org/gcc-4.3/changes.html
--- libmad-0.15.1b/configure.orig 2010-03-05 10:57:19.522398811 +0100
+++ libmad-0.15.1b/configure 2010-03-05 10:58:45.278933253 +0100
@@ -19099,7 +19099,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"
Loading…
Cancel
Save