From: Perl 5 Porters Date: Wed, 21 Aug 1996 23:26:09 +0000 (+0000) Subject: perl 5.003_03: hints/next_3.sh X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=40ea335528d29db69bd60cfcbac6f29171db0bac;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_03: hints/next_3.sh Build up $mab dynamically. Since $mab isn't used anywhere anymore, this is useless. However, $mab was never used for next_3.sh anyway, so there's been no change in functionality. --- diff --git a/hints/next_3.sh b/hints/next_3.sh index 38ad0ec..d1e16ee 100644 --- a/hints/next_3.sh +++ b/hints/next_3.sh @@ -20,7 +20,12 @@ cccdlflags=' ' # Change the line below if you do not want to build 'quad-fat' # binaries # -mab='-arch m68k -arch i386 -arch hppa -arch sparc' +archs=`/bin/lipo -info /usr/lib/libm.a | sed 's/^[^:]*:[^:]*: //'` +for d in $archs +do + mab="$mab -arch $d" +done + archname='next-fat' ld='cc'