summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-21 23:26:09 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-21 23:26:09 +0000
commit40ea335528d29db69bd60cfcbac6f29171db0bac (patch)
treea5625aaae34deae6c1d8023cfa86788ea4ac1155
parent18f04df4967e1e5ffa93ad1be011ba68452a7d9a (diff)
downloadperl-40ea335528d29db69bd60cfcbac6f29171db0bac.tar.gz
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.
-rw-r--r--hints/next_3.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/hints/next_3.sh b/hints/next_3.sh
index 38ad0ec7cc..d1e16eeed0 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'