summaryrefslogtreecommitdiffstats
path: root/patches/mad-0.14.2b/libmad_configure.patch
blob: bd5d586fffe4f4db9fb7347f5c1d57a491cca975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Juergen Beisert <j.beisert@pengutronixde>
Subject: [libmad] remove special handling for architectures

The configure script adds certain -march flags for different
architectures, which contain a-priori implications which might not be
true for several systems.

Signed-off-by: Juergen Beisert <j.beisert@pengutronixde>
---

--- libmad/configure.orig	2006-12-21 18:55:55.000000000 +0100
+++ libmad/configure	2006-12-21 18:56:11.000000000 +0100
@@ -1656,10 +1656,9 @@
     if test -z "$arch"
     then
 	case "$host" in
-	    i386-*)           ;;
-	    i?86-*)           arch="-m486" ;;
-	    arm*-empeg-*)     arch="-march=armv4 -mtune=strongarm1100" ;;
-	    armv4*-*)         arch="-march=armv4 -mtune=strongarm" ;;
+	    i?86-*)           ;;
+	    arm*-empeg-*)     ;;
+	    armv4*-*)         ;;
 	    powerpc-*)        ;;
 	    mips*-agenda-*)   arch="-mcpu=vr4100" ;;
 	    mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;