summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh3
-rw-r--r--hints/next_4.sh16
2 files changed, 15 insertions, 4 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 6a9e54570a..2c42151ea6 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -17,6 +17,9 @@ alignbytes=8
usemymalloc='n'
+so="a"
+dlext="so"
+
# Make setsockopt work correctly. See man page.
# ccflags='-D_BSD=44'
diff --git a/hints/next_4.sh b/hints/next_4.sh
index bd6a38734c..651b5e40fc 100644
--- a/hints/next_4.sh
+++ b/hints/next_4.sh
@@ -24,7 +24,7 @@ ld='cc'
#optimize='-g -O'
#
-# Change the lines below if you do not want to build 'quad-fat'
+# Change the lines below if you do not want to build 'triple-fat'
# binaries
#
archs=`/bin/lipo -info /usr/lib/libm.a | sed 's/^[^:]*:[^:]*: //'`
@@ -33,9 +33,17 @@ do
mab="$mab -arch $d"
done
-ccflags="$ccflags $mab"
-ccdlflags="$mab"
-# Can we also set ld='libtool -xxx' ?
+#
+# Unfortunately, "cc -E - $mab" doesn't work. Since that's what
+# Configure will try if we add $mab to $ccflags, we won't. If you want
+# to build a fat binary, try changing $ccflags and $ccdlflags to look
+# like this when Configure invites you to edit config.h manually:
+#
+# ccflags="$ccflags $mab"
+# ccdlflags="$mab"
+#
+# (I wonder: Can we also set ld='libtool -xxx' ?)
+#
useshprlib='true'
dlext='bundle'