]> git.pld-linux.org Git - packages/parigp.git/blame - parigp-target_arch.patch
- rediff patch
[packages/parigp.git] / parigp-target_arch.patch
CommitLineData
91bf709e
JR
1diff -urNp -x '*.orig' pari-2.5.5.org/config/get_archos pari-2.5.5/config/get_archos
2--- pari-2.5.5.org/config/get_archos 2011-09-22 22:02:11.000000000 +0200
3+++ pari-2.5.5/config/get_archos 2021-05-07 23:08:59.794747185 +0200
4@@ -6,6 +6,10 @@ fi
6a0c64f7
JR
5 arch=`echo "$target_host" | sed -e 's/\(.*\)-.*/\1/'`
6 osname=`echo "$target_host" | sed -e 's/.*-\(.*\)/\1/'`
7
8+if test -n "$target_arch"; then
9+ arch=$target_arch
10+fi
11+
12 if test "$fastread" != yes; then
13 cat << EOM
14 ==========================================================================
91bf709e
JR
15diff -urNp -x '*.orig' pari-2.5.5.org/config/get_config_options pari-2.5.5/config/get_config_options
16--- pari-2.5.5.org/config/get_config_options 2013-05-22 14:55:02.000000000 +0200
17+++ pari-2.5.5/config/get_config_options 2021-05-07 23:08:59.794747185 +0200
18@@ -48,6 +48,7 @@ while test $# -gt 0; do
19 --sysdatadir=*) dfltsysdatadir=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
20 --time=*) timing_fun=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
21 --host=*) target_host=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
22+ --target=*) target_arch=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
23 --kernel=*) kernel=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
24 --tune) tune=yes;;
25 --builddir) dfltobjdir=auto;;
This page took 0.080848 seconds and 4 git commands to generate.