summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-18 12:28:46 +0000
commite8bda8575637b967afaa0321fc3aeb69e809087a (patch)
treed4865b2556e227b403f9c13ad128d9bfb3c009d8 /meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch
parentf204c8376f18d6cc443e7f4533d7eeace5d45f95 (diff)
downloadpoky-e8bda8575637b967afaa0321fc3aeb69e809087a.tar.gz
gcc 4.3.0 -> 4.3.1 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4876 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch')
-rw-r--r--meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch
new file mode 100644
index 0000000000..392185f9bf
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.3.1/debian/s390-biarch.dpatch
@@ -0,0 +1,36 @@
1#! /bin/sh -e
2
3# DP: enable biarch for 31 bit compiler
4
5dir=
6if [ $# -eq 3 -a "$2" = '-d' ]; then
7 pdir="-d $3"
8 dir="$3/"
9elif [ $# -ne 1 ]; then
10 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11 exit 1
12fi
13case "$1" in
14 -patch)
15 patch $pdir -f --no-backup-if-mismatch -p0 < $0
16 ;;
17 -unpatch)
18 patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
19 ;;
20 *)
21 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
22 exit 1
23esac
24exit 0
25
26--- gcc/config.gcc~ 2006-06-02 01:59:42.000000000 +0200
27+++ gcc/config.gcc 2006-06-04 18:20:56.272554984 +0200
28@@ -1884,7 +1884,7 @@
29 ;;
30 s390-*-linux*)
31 tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
32- tmake_file="${tmake_file} t-dfprules s390/t-crtstuff s390/t-linux"
33+ tmake_file="${tmake_file} t-dfprules s390/t-crtstuff s390/t-linux s390/t-linux64"
34 ;;
35 s390x-*-linux*)
36 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"