diff options
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.dpatch | 36 |
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 | |||
| 5 | dir= | ||
| 6 | if [ $# -eq 3 -a "$2" = '-d' ]; then | ||
| 7 | pdir="-d $3" | ||
| 8 | dir="$3/" | ||
| 9 | elif [ $# -ne 1 ]; then | ||
| 10 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
| 11 | exit 1 | ||
| 12 | fi | ||
| 13 | case "$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 | ||
| 23 | esac | ||
| 24 | exit 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" | ||
