diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2006-12-21 18:17:37 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2006-12-21 18:17:37 +0000 |
commit | cf4f87ae8f7c10e1d1d7b2999ca10c351d3367e9 (patch) | |
tree | d54b4fd48aa4866021053891e642561cccc96d03 /patches | |
parent | ecc5ea83fb8a0b2a37215f18089f0c2bdd66ac5f (diff) | |
download | ptxdist-cf4f87ae8f7c10e1d1d7b2999ca10c351d3367e9.tar.gz ptxdist-cf4f87ae8f7c10e1d1d7b2999ca10c351d3367e9.tar.xz |
* mad: better architecture support
- do not guess -march anymore. The compiler already knows it
- install libraries locally to be used by other packets
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6571 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r-- | patches/mad-0.14.2b/generic/configure.patch | 16 | ||||
-rw-r--r-- | patches/mad-0.14.2b/generic/libmad_configure.patch | 16 | ||||
-rw-r--r-- | patches/mad-0.14.2b/generic/series | 3 |
3 files changed, 35 insertions, 0 deletions
diff --git a/patches/mad-0.14.2b/generic/configure.patch b/patches/mad-0.14.2b/generic/configure.patch new file mode 100644 index 000000000..d312600d6 --- /dev/null +++ b/patches/mad-0.14.2b/generic/configure.patch @@ -0,0 +1,16 @@ +--- configure.orig 2006-12-21 18:53:25.000000000 +0100 ++++ configure 2006-12-21 18:53:50.000000000 +0100 +@@ -1857,10 +1857,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" ;; diff --git a/patches/mad-0.14.2b/generic/libmad_configure.patch b/patches/mad-0.14.2b/generic/libmad_configure.patch new file mode 100644 index 000000000..25fe388c9 --- /dev/null +++ b/patches/mad-0.14.2b/generic/libmad_configure.patch @@ -0,0 +1,16 @@ +--- 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" ;; diff --git a/patches/mad-0.14.2b/generic/series b/patches/mad-0.14.2b/generic/series new file mode 100644 index 000000000..172ca0249 --- /dev/null +++ b/patches/mad-0.14.2b/generic/series @@ -0,0 +1,3 @@ +configure.patch -p0 +libmad_configure.patch -p0 + |