diff options
-rw-r--r-- | hints/next_3.sh | 7 |
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' |