summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
new file mode 100644
index 0000000000..81d2a0c91f
--- /dev/null
+++ b/hints/aix.sh
@@ -0,0 +1,20 @@
+d_fchmod=undef
+d_setrgid='undef'
+d_setruid='undef'
+alignbytes=8
+
+# Changes for dynamic linking by Wayne Scott (wscott@ichips.intel.com)
+#
+# Tell perl which symbols to export for dynamic linking.
+ccdlflags='-bE:perl.exp'
+
+# The first 3 options would not be needed if dynamic libs. could be linked
+# with the compiler instead of ld.
+# -bI:$(TOP)/perl.exp Read the exported symbols from the perl binary
+# -bE:$(EXT).exp Export these symbols. This file contains only one
+# symbol: boot_$(EXP) can it be auto-generated?
+lddlflags='-H512 -T512 -bhalt:4 -bM:SRE -bI:$(TOP)/perl.exp -bE:$(EXT).exp -e _nostart -lc'
+
+ccflags='-D_ALL_SOURCE'
+# Make setsockopt work correctly. See man page.
+# ccflags='-D_BSD=44'